#B366DD#B366DD

#B366DD is a light, vivid violet. Relative luminance 0.243; OKLCH L 64.6% C 0.184 H 312.2°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#B366DD
RGBrgb(179, 102, 221)
HSLhsl(279, 64%, 63%)
HSVhsv(279, 54%, 87%)
CMYKcmyk(19%, 53.8%, 0%, 13.3%)
CIE-LABlab(56.39, 51.02, -48.75)
CIE-LCHlch(56.39, 70.57, 316.30°)
OKLaboklab(64.55% 0.1237 -0.1364)
OKLCHoklch(64.55% 0.184 312.2)
XYZxyz(36.3906, 24.3077, 71.1675)
Luminance0.2431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B366DD #90DD66
analogous
#7766DD #B366DD #DD66CB
triadic
#B366DD #DDB366 #66DDB3
tetradic
#B366DD #DD7766 #90DD66 #66CBDD
square
#B366DD #DD7766 #90DD66 #66CBDD
split-complementary
#B366DD #CBDD66 #66DD77
monochromatic
#7724A4 #9A34D2 #B366DD #CC98E8 #E5CAF3

Accessibility & contrast

On white

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

On black

5.86
#B366DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B366DD
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B366DD#FFFFFF#000000##000000
##B366DD1.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4583E1
Deuteranopia (green-blind)
#5F89DA
Tritanopia (blue-blind)
#AF7A98
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b366dd;
/* rgb */ color: rgb(179, 102, 221);
/* oklch */ color: oklch(64.6% 0.184 312.2);
Tailwind
colors: {
  custom: {
    50: '#cc94e8',
    500: '#b366dd',
    950: '#000000',
  },
}
SCSS
$custom: #b366dd;
$custom-light: #cc94e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b366dd",
  "rgb": {
    "r": 179,
    "g": 102,
    "b": 221
  },
  "hsl": {
    "h": 278.824,
    "s": 63.636,
    "l": 63.333
  },
  "oklch": {
    "l": 0.64555,
    "c": 0.18418,
    "h": 312.2
  },
  "luminance": 0.24307
}

Semantic roles & 50–950 ramp

primary
#B366DD
secondary
#C9E5BA
accent
#CB1A59
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B366DD

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

Preview Lab → · Contrast checker → · Palette generator →

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