#B366D6#B366D6

#B366D6 is a light, vivid purple. Relative luminance 0.239; OKLCH L 64.2% C 0.177 H 314.2°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#B366D6
RGBrgb(179, 102, 214)
HSLhsl(281, 58%, 62%)
HSVhsv(281, 52%, 84%)
CMYKcmyk(16.4%, 52.3%, 0%, 16.1%)
CIE-LABlab(56.03, 49.53, -45.38)
CIE-LCHlch(56.03, 67.17, 317.51°)
OKLaboklab(64.17% 0.1232 -0.1266)
OKLCHoklch(64.17% 0.177 314.2)
XYZxyz(35.4774, 23.9425, 66.3578)
Luminance0.2394 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B366D6 #89D666
analogous
#7B66D6 #B366D6 #D666C1
triadic
#B366D6 #D6B366 #66D6B3
tetradic
#B366D6 #D67B66 #89D666 #66C1D6
square
#B366D6 #D67B66 #89D666 #66C1D6
split-complementary
#B366D6 #C1D666 #66D67B
monochromatic
#762999 #9B36C9 #B366D6 #CB96E3 #E3C7F0

Accessibility & contrast

On white

3.63
#B366D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#B366D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B366D6
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B366D6#FFFFFF#000000##000000
##B366D61.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B82DA
Deuteranopia (green-blind)
#6488D3
Tritanopia (blue-blind)
#B07895
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b366d6;
/* rgb */ color: rgb(179, 102, 214);
/* oklch */ color: oklch(64.2% 0.177 314.2);
Tailwind
colors: {
  custom: {
    50: '#cc94e3',
    500: '#b366d6',
    950: '#000000',
  },
}
SCSS
$custom: #b366d6;
$custom-light: #cc94e3;
$custom-dark: #000000;
JSON
{
  "hex": "#b366d6",
  "rgb": {
    "r": 179,
    "g": 102,
    "b": 214
  },
  "hsl": {
    "h": 281.25,
    "s": 57.732,
    "l": 61.961
  },
  "oklch": {
    "l": 0.64168,
    "c": 0.17664,
    "h": 314.2
  },
  "luminance": 0.23941
}

Semantic roles & 50–950 ramp

primary
#B366D6
secondary
#C4E1B7
accent
#C52054
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140D15
muted
#827E83

Preview Lab

Preview with #B366D6

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

Preview Lab → · Contrast checker → · Palette generator →

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