#B366CE#B366CE

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

Color values

HEX#B366CE
RGBrgb(179, 102, 206)
HSLhsl(284, 51%, 60%)
HSVhsv(284, 50%, 81%)
CMYKcmyk(13.1%, 50.5%, 0%, 19.2%)
CIE-LABlab(55.63, 47.86, -41.48)
CIE-LCHlch(55.63, 63.33, 319.09°)
OKLaboklab(63.74% 0.1224 -0.1153)
OKLCHoklch(63.74% 0.168 316.7)
XYZxyz(34.4807, 23.5438, 61.1086)
Luminance0.2354 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B366CE #81CE66
analogous
#7F66CE #B366CE #CE66B5
triadic
#B366CE #CEB366 #66CEB3
tetradic
#B366CE #CE7F66 #81CE66 #66B5CE
square
#B366CE #CE7F66 #81CE66 #66B5CE
split-complementary
#B366CE #B5CE66 #66CE7F
monochromatic
#742D8D #9A3CBB #B366CE #CA94DD #E1C3EC

Accessibility & contrast

On white

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

On black

5.71
#B366CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B366CE
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B366CE#FFFFFF#000000##000000
##B366CE1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5180D2
Deuteranopia (green-blind)
#6888CB
Tritanopia (blue-blind)
#B27591
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b366ce;
/* rgb */ color: rgb(179, 102, 206);
/* oklch */ color: oklch(63.7% 0.168 316.7);
Tailwind
colors: {
  custom: {
    50: '#cc94dd',
    500: '#b366ce',
    950: '#000000',
  },
}
SCSS
$custom: #b366ce;
$custom-light: #cc94dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b366ce",
  "rgb": {
    "r": 179,
    "g": 102,
    "b": 206
  },
  "hsl": {
    "h": 284.423,
    "s": 51.485,
    "l": 60.392
  },
  "oklch": {
    "l": 0.6374,
    "c": 0.1681,
    "h": 316.7
  },
  "luminance": 0.23543
}

Semantic roles & 50–950 ramp

primary
#B366CE
secondary
#BEDCB4
accent
#BF274E
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140D15
muted
#827E83

Preview Lab

Preview with #B366CE

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

Preview Lab → · Contrast checker → · Palette generator →

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