#B366D2#B366D2

#B366D2 is a light, vivid purple. Relative luminance 0.237; OKLCH L 64.0% C 0.172 H 315.4°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#B366D2
RGBrgb(179, 102, 210)
HSLhsl(283, 55%, 61%)
HSVhsv(283, 51%, 82%)
CMYKcmyk(14.8%, 51.4%, 0%, 17.6%)
CIE-LABlab(55.83, 48.69, -43.43)
CIE-LCHlch(55.83, 65.25, 318.27°)
OKLaboklab(63.95% 0.1228 -0.1209)
OKLCHoklch(63.95% 0.172 315.4)
XYZxyz(34.9728, 23.7406, 63.7004)
Luminance0.2374 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B366D2 #85D266
analogous
#7D66D2 #B366D2 #D266BB
triadic
#B366D2 #D2B366 #66D2B3
tetradic
#B366D2 #D27D66 #85D266 #66BBD2
square
#B366D2 #D27D66 #85D266 #66BBD2
split-complementary
#B366D2 #BBD266 #66D27D
monochromatic
#752B93 #9B39C2 #B366D2 #CA95E0 #E2C5EE

Accessibility & contrast

On white

3.65
#B366D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#B366D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B366D2
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B366D2#FFFFFF#000000##000000
##B366D21.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E81D6
Deuteranopia (green-blind)
#6688CF
Tritanopia (blue-blind)
#B17793
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b366d2;
/* rgb */ color: rgb(179, 102, 210);
/* oklch */ color: oklch(64.0% 0.172 315.4);
Tailwind
colors: {
  custom: {
    50: '#cc94e0',
    500: '#b366d2',
    950: '#000000',
  },
}
SCSS
$custom: #b366d2;
$custom-light: #cc94e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b366d2",
  "rgb": {
    "r": 179,
    "g": 102,
    "b": 210
  },
  "hsl": {
    "h": 282.778,
    "s": 54.545,
    "l": 61.176
  },
  "oklch": {
    "l": 0.63952,
    "c": 0.17236,
    "h": 315.4
  },
  "luminance": 0.2374
}

Semantic roles & 50–950 ramp

primary
#B366D2
secondary
#C1DEB6
accent
#C22351
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140D15
muted
#827E83

Preview Lab

Preview with #B366D2

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

Preview Lab → · Contrast checker → · Palette generator →

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