#B366D8#B366D8

#B366D8 is a light, vivid purple. Relative luminance 0.240; OKLCH L 64.3% C 0.179 H 313.6°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#B366D8
RGBrgb(179, 102, 216)
HSLhsl(281, 59%, 62%)
HSVhsv(281, 53%, 85%)
CMYKcmyk(17.1%, 52.8%, 0%, 15.3%)
CIE-LABlab(56.13, 49.95, -46.34)
CIE-LCHlch(56.13, 68.14, 317.15°)
OKLaboklab(64.28% 0.1234 -0.1294)
OKLCHoklch(64.28% 0.179 313.6)
XYZxyz(35.7344, 24.0453, 67.7112)
Luminance0.2404 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B366D8 #8BD866
analogous
#7A66D8 #B366D8 #D866C4
triadic
#B366D8 #D8B366 #66D8B3
tetradic
#B366D8 #D87A66 #8BD866 #66C4D8
square
#B366D8 #D87A66 #8BD866 #66C4D8
split-complementary
#B366D8 #C4D866 #66D87A
monochromatic
#76289C #9B35CC #B366D8 #CB97E4 #E3C8F1

Accessibility & contrast

On white

3.62
#B366D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#B366D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B366D8
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B366D8#FFFFFF#000000##000000
##B366D81.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A82DC
Deuteranopia (green-blind)
#6288D5
Tritanopia (blue-blind)
#B07995
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b366d8;
/* rgb */ color: rgb(179, 102, 216);
/* oklch */ color: oklch(64.3% 0.179 313.6);
Tailwind
colors: {
  custom: {
    50: '#cc94e4',
    500: '#b366d8',
    950: '#000000',
  },
}
SCSS
$custom: #b366d8;
$custom-light: #cc94e4;
$custom-dark: #000000;
JSON
{
  "hex": "#b366d8",
  "rgb": {
    "r": 179,
    "g": 102,
    "b": 216
  },
  "hsl": {
    "h": 280.526,
    "s": 59.375,
    "l": 62.353
  },
  "oklch": {
    "l": 0.64278,
    "c": 0.17879,
    "h": 313.6
  },
  "luminance": 0.24044
}

Semantic roles & 50–950 ramp

primary
#B366D8
secondary
#C6E2B8
accent
#C71E55
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B366D8

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

Preview Lab → · Contrast checker → · Palette generator →

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