#B366EC#B366EC

#B366EC is a light, highly saturated violet. Relative luminance 0.251; OKLCH L 65.4% C 0.200 H 308.4°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#B366EC
RGBrgb(179, 102, 236)
HSLhsl(274, 78%, 66%)
HSVhsv(274, 57%, 93%)
CMYKcmyk(24.2%, 56.8%, 0%, 7.5%)
CIE-LABlab(57.21, 54.30, -55.85)
CIE-LCHlch(57.21, 77.90, 314.19°)
OKLaboklab(65.42% 0.1244 -0.1572)
OKLCHoklch(65.42% 0.2 308.4)
XYZxyz(38.4791, 25.1431, 82.1666)
Luminance0.2514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B366EC #9FEC66
analogous
#7066EC #B366EC #EC66E2
triadic
#B366EC #ECB366 #66ECB3
tetradic
#B366EC #EC7066 #9FEC66 #66E2EC
square
#B366EC #EC7066 #9FEC66 #66E2EC
split-complementary
#B366EC #E2EC66 #66EC70
monochromatic
#7818C0 #9830E5 #B366EC #CE9CF3 #E9D3FA

Accessibility & contrast

On white

3.48
#B366EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#B366EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B366EC
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B366EC#FFFFFF#000000##000000
##B366EC1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3686F0
Deuteranopia (green-blind)
#548AE9
Tritanopia (blue-blind)
#AB7F9F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b366ec;
/* rgb */ color: rgb(179, 102, 236);
/* oklch */ color: oklch(65.4% 0.200 308.4);
Tailwind
colors: {
  custom: {
    50: '#cd95f3',
    500: '#b366ec',
    950: '#000000',
  },
}
SCSS
$custom: #b366ec;
$custom-light: #cd95f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b366ec",
  "rgb": {
    "r": 179,
    "g": 102,
    "b": 236
  },
  "hsl": {
    "h": 274.478,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.65422,
    "c": 0.20046,
    "h": 308.4
  },
  "luminance": 0.25143
}

Semantic roles & 50–950 ramp

primary
#B366EC
secondary
#D4EDC1
accent
#DA0B63
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #B366EC

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

Preview Lab → · Contrast checker → · Palette generator →

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