#B366E8#B366E8

#B366E8 is a light, vivid violet. Relative luminance 0.249; OKLCH L 65.2% C 0.196 H 309.3°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#B366E8
RGBrgb(179, 102, 232)
HSLhsl(276, 74%, 65%)
HSVhsv(276, 56%, 91%)
CMYKcmyk(22.8%, 56%, 0%, 9%)
CIE-LABlab(56.99, 53.42, -53.98)
CIE-LCHlch(56.99, 75.94, 314.70°)
OKLaboklab(65.19% 0.1243 -0.1517)
OKLCHoklch(65.19% 0.196 309.3)
XYZxyz(37.9044, 24.9133, 79.1402)
Luminance0.2491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B366E8 #9BE866
analogous
#7266E8 #B366E8 #E866DC
triadic
#B366E8 #E8B366 #66E8B3
tetradic
#B366E8 #E87266 #9BE866 #66DCE8
square
#B366E8 #E87266 #9BE866 #66DCE8
split-complementary
#B366E8 #DCE866 #66E872
monochromatic
#781CB8 #9931E0 #B366E8 #CD9BF0 #E8D0F8

Accessibility & contrast

On white

3.51
#B366E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#B366E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B366E8
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B366E8#FFFFFF#000000##000000
##B366E81.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B85EC
Deuteranopia (green-blind)
#578AE5
Tritanopia (blue-blind)
#AC7E9D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b366e8;
/* rgb */ color: rgb(179, 102, 232);
/* oklch */ color: oklch(65.2% 0.196 309.3);
Tailwind
colors: {
  custom: {
    50: '#cd95f0',
    500: '#b366e8',
    950: '#000000',
  },
}
SCSS
$custom: #b366e8;
$custom-light: #cd95f0;
$custom-dark: #000000;
JSON
{
  "hex": "#b366e8",
  "rgb": {
    "r": 179,
    "g": 102,
    "b": 232
  },
  "hsl": {
    "h": 275.538,
    "s": 73.864,
    "l": 65.49
  },
  "oklch": {
    "l": 0.65186,
    "c": 0.19611,
    "h": 309.3
  },
  "luminance": 0.24913
}

Semantic roles & 50–950 ramp

primary
#B366E8
secondary
#D1EBBF
accent
#D61060
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #B366E8

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#B366E8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva