#B366DE#B366DE

#B366DE is a light, vivid violet. Relative luminance 0.244; OKLCH L 64.6% C 0.185 H 311.9°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#B366DE
RGBrgb(179, 102, 222)
HSLhsl(279, 65%, 64%)
HSVhsv(279, 54%, 87%)
CMYKcmyk(19.4%, 54.1%, 0%, 12.9%)
CIE-LABlab(56.45, 51.24, -49.23)
CIE-LCHlch(56.45, 71.05, 316.15°)
OKLaboklab(64.61% 0.1238 -0.1378)
OKLCHoklch(64.61% 0.185 311.9)
XYZxyz(36.5243, 24.3612, 71.8712)
Luminance0.2436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B366DE #91DE66
analogous
#7766DE #B366DE #DE66CD
triadic
#B366DE #DEB366 #66DEB3
tetradic
#B366DE #DE7766 #91DE66 #66CDDE
square
#B366DE #DE7766 #91DE66 #66CDDE
split-complementary
#B366DE #CDDE66 #66DE77
monochromatic
#7724A6 #9A34D3 #B366DE #CC98E9 #E5CBF4

Accessibility & contrast

On white

3.58
#B366DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#B366DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B366DE
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B366DE#FFFFFF#000000##000000
##B366DE1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4583E2
Deuteranopia (green-blind)
#5F89DB
Tritanopia (blue-blind)
#AE7A98
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b366de;
/* rgb */ color: rgb(179, 102, 222);
/* oklch */ color: oklch(64.6% 0.185 311.9);
Tailwind
colors: {
  custom: {
    50: '#cc94e9',
    500: '#b366de',
    950: '#000000',
  },
}
SCSS
$custom: #b366de;
$custom-light: #cc94e9;
$custom-dark: #000000;
JSON
{
  "hex": "#b366de",
  "rgb": {
    "r": 179,
    "g": 102,
    "b": 222
  },
  "hsl": {
    "h": 278.5,
    "s": 64.516,
    "l": 63.529
  },
  "oklch": {
    "l": 0.64611,
    "c": 0.18527,
    "h": 311.9
  },
  "luminance": 0.2436
}

Semantic roles & 50–950 ramp

primary
#B366DE
secondary
#CAE5BB
accent
#CC1959
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B366DE

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

Preview Lab → · Contrast checker → · Palette generator →

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