#B366CA#B366CA

#B366CA is a light, vivid purple. Relative luminance 0.234; OKLCH L 63.5% C 0.164 H 318.0°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#B366CA
RGBrgb(179, 102, 202)
HSLhsl(286, 49%, 60%)
HSVhsv(286, 50%, 79%)
CMYKcmyk(11.4%, 49.5%, 0%, 20.8%)
CIE-LABlab(55.43, 47.04, -39.51)
CIE-LCHlch(55.43, 61.43, 319.97°)
OKLaboklab(63.53% 0.1219 -0.1096)
OKLCHoklch(63.53% 0.164 318)
XYZxyz(34.0010, 23.3519, 58.5820)
Luminance0.2335 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B366CA #7DCA66
analogous
#8166CA #B366CA #CA66AF
triadic
#B366CA #CAB366 #66CAB3
tetradic
#B366CA #CA8166 #7DCA66 #66AFCA
square
#B366CA #CA8166 #7DCA66 #66AFCA
split-complementary
#B366CA #AFCA66 #66CA81
monochromatic
#732F87 #993EB4 #B366CA #CA93DA #E0C1E9

Accessibility & contrast

On white

3.70
#B366CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#B366CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B366CA
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B366CA#FFFFFF#000000##000000
##B366CA1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5380CD
Deuteranopia (green-blind)
#6A87C7
Tritanopia (blue-blind)
#B3748F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b366ca;
/* rgb */ color: rgb(179, 102, 202);
/* oklch */ color: oklch(63.5% 0.164 318.0);
Tailwind
colors: {
  custom: {
    50: '#cc94da',
    500: '#b366ca',
    950: '#000000',
  },
}
SCSS
$custom: #b366ca;
$custom-light: #cc94da;
$custom-dark: #000000;
JSON
{
  "hex": "#b366ca",
  "rgb": {
    "r": 179,
    "g": 102,
    "b": 202
  },
  "hsl": {
    "h": 286.2,
    "s": 48.544,
    "l": 59.608
  },
  "oklch": {
    "l": 0.63532,
    "c": 0.16388,
    "h": 318
  },
  "luminance": 0.23351
}

Semantic roles & 50–950 ramp

primary
#B366CA
secondary
#BBD9B2
accent
#D8506F
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140D15
muted
#827E83

Preview Lab

Preview with #B366CA

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

Preview Lab → · Contrast checker → · Palette generator →

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