#B366CD#B366CD

#B366CD is a light, vivid purple. Relative luminance 0.235; OKLCH L 63.7% C 0.167 H 317.0°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#B366CD
RGBrgb(179, 102, 205)
HSLhsl(285, 51%, 60%)
HSVhsv(285, 50%, 80%)
CMYKcmyk(12.7%, 50.2%, 0%, 19.6%)
CIE-LABlab(55.58, 47.65, -40.98)
CIE-LCHlch(55.58, 62.85, 319.30°)
OKLaboklab(63.69% 0.1223 -0.1138)
OKLCHoklch(63.69% 0.167 317)
XYZxyz(34.3596, 23.4954, 60.4709)
Luminance0.2349 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B366CD #80CD66
analogous
#7F66CD #B366CD #CD66B4
triadic
#B366CD #CDB366 #66CDB3
tetradic
#B366CD #CD7F66 #80CD66 #66B4CD
square
#B366CD #CD7F66 #80CD66 #66B4CD
split-complementary
#B366CD #B4CD66 #66CD7F
monochromatic
#732D8B #9A3DB9 #B366CD #CA94DC #E1C2EB

Accessibility & contrast

On white

3.68
#B366CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#B366CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B366CD
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B366CD#FFFFFF#000000##000000
##B366CD1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5280D0
Deuteranopia (green-blind)
#6988CA
Tritanopia (blue-blind)
#B27590
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b366cd;
/* rgb */ color: rgb(179, 102, 205);
/* oklch */ color: oklch(63.7% 0.167 317.0);
Tailwind
colors: {
  custom: {
    50: '#cc94dc',
    500: '#b366cd',
    950: '#000000',
  },
}
SCSS
$custom: #b366cd;
$custom-light: #cc94dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b366cd",
  "rgb": {
    "r": 179,
    "g": 102,
    "b": 205
  },
  "hsl": {
    "h": 284.854,
    "s": 50.739,
    "l": 60.196
  },
  "oklch": {
    "l": 0.63688,
    "c": 0.16705,
    "h": 317
  },
  "luminance": 0.23494
}

Semantic roles & 50–950 ramp

primary
#B366CD
secondary
#BEDBB4
accent
#BE274D
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140D15
muted
#827E83

Preview Lab

Preview with #B366CD

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

Preview Lab → · Contrast checker → · Palette generator →

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