#8262BB

A color in the Violet family

#8262bb is a color in the Violet family: RGB(130, 98, 187), HSL(262°, 40%, 56%), CMYK(30%, 48%, 0%, 27%). Closest named color: slateblue. Contrast is 4.76:1 on white and 4.41:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#8262bb
RGBrgb(130 98 187)
RGB (legacy)rgb(130, 98, 187)
RGB %rgb(51% 38% 73%)
HSLhsl(262 40% 56%)
HSV / HSBhsv(262, 48%, 73%)
HWBhwb(262 38% 27%)
CMYKcmyk(30%, 48%, 0%, 27%)
CIELAB (D50)lab(47.92 27.88 -42.84)
LCHlch(47.92 51.12 303.05)
OKLaboklab(0.5678 0.065 -0.1193)
OKLCHoklch(0.5678 0.1358 298.58)
Decimal8544955

Properties

Color ToneViolet
Closest named colorslateblue ΔE 5.5
Closest web-safe color#9966cc
Hue262°
Saturation (HSL / HSV)40% / 48%
Lightness (HSL)56%
Brightness or Value (HSV)73%
Luminance (Rec.601 / Rec.709)46% / 44%
Relative luminance (WCAG)0.1707
Red / Green / Blue130 / 98 / 187

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.76:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.41:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 72.9 / -28.8 · As background with white / black text: Lc -78.3 / 31.2

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #8262bb;
  --color-brand-oklch: oklch(56.78% 0.1358 298.58);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(130 98 187 / 50%); }
/* Tailwind CSS */
<div class="bg-[#8262bb] text-[#8262bb] border-[#8262bb]">