#B366D9#B366D9

#B366D9 is a light, vivid purple. Relative luminance 0.241; OKLCH L 64.3% C 0.180 H 313.3°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#B366D9
RGBrgb(179, 102, 217)
HSLhsl(280, 60%, 63%)
HSVhsv(280, 53%, 85%)
CMYKcmyk(17.5%, 53%, 0%, 14.9%)
CIE-LABlab(56.18, 50.17, -46.83)
CIE-LCHlch(56.18, 68.63, 316.97°)
OKLaboklab(64.33% 0.1234 -0.1308)
OKLCHoklch(64.33% 0.18 313.3)
XYZxyz(35.8641, 24.0971, 68.3941)
Luminance0.2410 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B366D9 #8CD966
analogous
#7A66D9 #B366D9 #D966C5
triadic
#B366D9 #D9B366 #66D9B3
tetradic
#B366D9 #D97A66 #8CD966 #66C5D9
square
#B366D9 #D97A66 #8CD966 #66C5D9
split-complementary
#B366D9 #C5D966 #66D97A
monochromatic
#76279D #9B35CD #B366D9 #CB97E5 #E4C8F1

Accessibility & contrast

On white

3.61
#B366D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#B366D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B366D9
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B366D9#FFFFFF#000000##000000
##B366D91.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4982DD
Deuteranopia (green-blind)
#6289D6
Tritanopia (blue-blind)
#B07996
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b366d9;
/* rgb */ color: rgb(179, 102, 217);
/* oklch */ color: oklch(64.3% 0.180 313.3);
Tailwind
colors: {
  custom: {
    50: '#cc94e5',
    500: '#b366d9',
    950: '#000000',
  },
}
SCSS
$custom: #b366d9;
$custom-light: #cc94e5;
$custom-dark: #000000;
JSON
{
  "hex": "#b366d9",
  "rgb": {
    "r": 179,
    "g": 102,
    "b": 217
  },
  "hsl": {
    "h": 280.174,
    "s": 60.209,
    "l": 62.549
  },
  "oklch": {
    "l": 0.64333,
    "c": 0.17986,
    "h": 313.3
  },
  "luminance": 0.24096
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B366D9

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

Preview Lab → · Contrast checker → · Palette generator →

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