#B366EE#B366EE

#B366EE is a light, highly saturated violet. Relative luminance 0.253; OKLCH L 65.5% C 0.203 H 307.9°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#B366EE
RGBrgb(179, 102, 238)
HSLhsl(274, 80%, 67%)
HSVhsv(274, 57%, 93%)
CMYKcmyk(24.8%, 57.1%, 0%, 6.7%)
CIE-LABlab(57.33, 54.75, -56.79)
CIE-LCHlch(57.33, 78.88, 313.95°)
OKLaboklab(65.54% 0.1245 -0.1599)
OKLCHoklch(65.54% 0.203 307.9)
XYZxyz(38.7713, 25.2600, 83.7055)
Luminance0.2526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B366EE #A1EE66
analogous
#6F66EE #B366EE #EE66E5
triadic
#B366EE #EEB366 #66EEB3
tetradic
#B366EE #EE6F66 #A1EE66 #66E5EE
square
#B366EE #EE6F66 #A1EE66 #66E5EE
split-complementary
#B366EE #E5EE66 #66EE6F
monochromatic
#7816C4 #982FE8 #B366EE #CE9DF4 #EAD4FA

Accessibility & contrast

On white

3.47
#B366EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#B366EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B366EE
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B366EE#FFFFFF#000000##000000
##B366EE1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3387F2
Deuteranopia (green-blind)
#528AEB
Tritanopia (blue-blind)
#AA80A0
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b366ee;
/* rgb */ color: rgb(179, 102, 238);
/* oklch */ color: oklch(65.5% 0.203 307.9);
Tailwind
colors: {
  custom: {
    50: '#cd95f4',
    500: '#b366ee',
    950: '#000000',
  },
}
SCSS
$custom: #b366ee;
$custom-light: #cd95f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b366ee",
  "rgb": {
    "r": 179,
    "g": 102,
    "b": 238
  },
  "hsl": {
    "h": 273.971,
    "s": 80,
    "l": 66.667
  },
  "oklch": {
    "l": 0.65541,
    "c": 0.20263,
    "h": 307.9
  },
  "luminance": 0.25259
}

Semantic roles & 50–950 ramp

primary
#B366EE
secondary
#D5EEC2
accent
#DC0965
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#140D17
muted
#827E85

Preview Lab

Preview with #B366EE

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

Preview Lab → · Contrast checker → · Palette generator →

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