#B366E9#B366E9

#B366E9 is a light, vivid violet. Relative luminance 0.250; OKLCH L 65.2% C 0.197 H 309.1°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#B366E9
RGBrgb(179, 102, 233)
HSLhsl(275, 75%, 66%)
HSVhsv(275, 56%, 91%)
CMYKcmyk(23.2%, 56.2%, 0%, 8.6%)
CIE-LABlab(57.05, 53.64, -54.45)
CIE-LCHlch(57.05, 76.43, 314.57°)
OKLaboklab(65.25% 0.1243 -0.1531)
OKLCHoklch(65.25% 0.197 309.1)
XYZxyz(38.0469, 24.9703, 79.8904)
Luminance0.2497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B366E9 #9CE966
analogous
#7166E9 #B366E9 #E966DE
triadic
#B366E9 #E9B366 #66E9B3
tetradic
#B366E9 #E97166 #9CE966 #66DEE9
square
#B366E9 #E97166 #9CE966 #66DEE9
split-complementary
#B366E9 #DEE966 #66E971
monochromatic
#781BBA #9830E1 #B366E9 #CE9CF1 #E8D1F8

Accessibility & contrast

On white

3.50
#B366E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#B366E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B366E9
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B366E9#FFFFFF#000000##000000
##B366E91.003.505.995.99
#FFFFFF3.501.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3986ED
Deuteranopia (green-blind)
#568AE6
Tritanopia (blue-blind)
#AC7E9E
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b366e9;
/* rgb */ color: rgb(179, 102, 233);
/* oklch */ color: oklch(65.2% 0.197 309.1);
Tailwind
colors: {
  custom: {
    50: '#cd95f1',
    500: '#b366e9',
    950: '#000000',
  },
}
SCSS
$custom: #b366e9;
$custom-light: #cd95f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b366e9",
  "rgb": {
    "r": 179,
    "g": 102,
    "b": 233
  },
  "hsl": {
    "h": 275.267,
    "s": 74.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.65245,
    "c": 0.19719,
    "h": 309.1
  },
  "luminance": 0.2497
}

Semantic roles & 50–950 ramp

primary
#B366E9
secondary
#D2EBC0
accent
#D70E61
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #B366E9

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

Preview Lab → · Contrast checker → · Palette generator →

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