#B366E1#B366E1

#B366E1 is a light, vivid violet. Relative luminance 0.245; OKLCH L 64.8% C 0.189 H 311.1°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#B366E1
RGBrgb(179, 102, 225)
HSLhsl(278, 67%, 64%)
HSVhsv(278, 55%, 88%)
CMYKcmyk(20.4%, 54.7%, 0%, 11.8%)
CIE-LABlab(56.61, 51.89, -50.66)
CIE-LCHlch(56.61, 72.52, 315.68°)
OKLaboklab(64.78% 0.124 -0.142)
OKLCHoklch(64.78% 0.189 311.1)
XYZxyz(36.9299, 24.5235, 74.0076)
Luminance0.2452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B366E1 #94E166
analogous
#7666E1 #B366E1 #E166D2
triadic
#B366E1 #E1B366 #66E1B3
tetradic
#B366E1 #E17666 #94E166 #66D2E1
square
#B366E1 #E17666 #94E166 #66D2E1
split-complementary
#B366E1 #D2E166 #66E176
monochromatic
#7822AB #9A33D7 #B366E1 #CC99EB #E6CCF5

Accessibility & contrast

On white

3.56
#B366E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#B366E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B366E1
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B366E1#FFFFFF#000000##000000
##B366E11.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4284E5
Deuteranopia (green-blind)
#5D89DE
Tritanopia (blue-blind)
#AE7B9A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b366e1;
/* rgb */ color: rgb(179, 102, 225);
/* oklch */ color: oklch(64.8% 0.189 311.1);
Tailwind
colors: {
  custom: {
    50: '#cc94eb',
    500: '#b366e1',
    950: '#000000',
  },
}
SCSS
$custom: #b366e1;
$custom-light: #cc94eb;
$custom-dark: #000000;
JSON
{
  "hex": "#b366e1",
  "rgb": {
    "r": 179,
    "g": 102,
    "b": 225
  },
  "hsl": {
    "h": 277.561,
    "s": 67.213,
    "l": 64.118
  },
  "oklch": {
    "l": 0.64781,
    "c": 0.18851,
    "h": 311.1
  },
  "luminance": 0.24523
}

Semantic roles & 50–950 ramp

primary
#B366E1
secondary
#CCE7BC
accent
#CF165B
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B366E1

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

Preview Lab → · Contrast checker → · Palette generator →

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