#B366DF#B366DF

#B366DF is a light, vivid violet. Relative luminance 0.244; OKLCH L 64.7% C 0.186 H 311.7°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#B366DF
RGBrgb(179, 102, 223)
HSLhsl(278, 65%, 64%)
HSVhsv(278, 54%, 87%)
CMYKcmyk(19.7%, 54.3%, 0%, 12.5%)
CIE-LABlab(56.50, 51.45, -49.71)
CIE-LCHlch(56.50, 71.54, 315.99°)
OKLaboklab(64.67% 0.1239 -0.1392)
OKLCHoklch(64.67% 0.186 311.7)
XYZxyz(36.6587, 24.4150, 72.5792)
Luminance0.2441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B366DF #92DF66
analogous
#7666DF #B366DF #DF66CE
triadic
#B366DF #DFB366 #66DFB3
tetradic
#B366DF #DF7666 #92DF66 #66CEDF
square
#B366DF #DF7666 #92DF66 #66CEDF
split-complementary
#B366DF #CEDF66 #66DF76
monochromatic
#7723A8 #9A33D4 #B366DF #CC99EA #E5CBF4

Accessibility & contrast

On white

3.57
#B366DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#B366DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B366DF
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B366DF#FFFFFF#000000##000000
##B366DF1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4484E3
Deuteranopia (green-blind)
#5E89DC
Tritanopia (blue-blind)
#AE7B99
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b366df;
/* rgb */ color: rgb(179, 102, 223);
/* oklch */ color: oklch(64.7% 0.186 311.7);
Tailwind
colors: {
  custom: {
    50: '#cc94e9',
    500: '#b366df',
    950: '#000000',
  },
}
SCSS
$custom: #b366df;
$custom-light: #cc94e9;
$custom-dark: #000000;
JSON
{
  "hex": "#b366df",
  "rgb": {
    "r": 179,
    "g": 102,
    "b": 223
  },
  "hsl": {
    "h": 278.182,
    "s": 65.405,
    "l": 63.725
  },
  "oklch": {
    "l": 0.64668,
    "c": 0.18634,
    "h": 311.7
  },
  "luminance": 0.24414
}

Semantic roles & 50–950 ramp

primary
#B366DF
secondary
#CBE6BB
accent
#CD185A
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B366DF

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

Preview Lab → · Contrast checker → · Palette generator →

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