#B366EA#B366EA

#B366EA is a light, vivid violet. Relative luminance 0.250; OKLCH L 65.3% C 0.198 H 308.8°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#B366EA
RGBrgb(179, 102, 234)
HSLhsl(275, 76%, 66%)
HSVhsv(275, 56%, 92%)
CMYKcmyk(23.5%, 56.4%, 0%, 8.2%)
CIE-LABlab(57.10, 53.86, -54.92)
CIE-LCHlch(57.10, 76.92, 314.44°)
OKLaboklab(65.3% 0.1244 -0.1544)
OKLCHoklch(65.3% 0.198 308.8)
XYZxyz(38.1901, 25.0276, 80.6449)
Luminance0.2503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B366EA #9DEA66
analogous
#7166EA #B366EA #EA66DF
triadic
#B366EA #EAB366 #66EAB3
tetradic
#B366EA #EA7166 #9DEA66 #66DFEA
square
#B366EA #EA7166 #9DEA66 #66DFEA
split-complementary
#B366EA #DFEA66 #66EA71
monochromatic
#781ABC #9830E3 #B366EA #CE9CF1 #E8D2F9

Accessibility & contrast

On white

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

On black

6.01
#B366EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B366EA
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B366EA#FFFFFF#000000##000000
##B366EA1.003.506.016.01
#FFFFFF3.501.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3886EE
Deuteranopia (green-blind)
#568AE7
Tritanopia (blue-blind)
#AB7E9E
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b366ea;
/* rgb */ color: rgb(179, 102, 234);
/* oklch */ color: oklch(65.3% 0.198 308.8);
Tailwind
colors: {
  custom: {
    50: '#cd95f1',
    500: '#b366ea',
    950: '#000000',
  },
}
SCSS
$custom: #b366ea;
$custom-light: #cd95f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b366ea",
  "rgb": {
    "r": 179,
    "g": 102,
    "b": 234
  },
  "hsl": {
    "h": 275,
    "s": 75.862,
    "l": 65.882
  },
  "oklch": {
    "l": 0.65303,
    "c": 0.19828,
    "h": 308.8
  },
  "luminance": 0.25027
}

Semantic roles & 50–950 ramp

primary
#B366EA
secondary
#D2ECC0
accent
#D80D62
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #B366EA

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

Preview Lab → · Contrast checker → · Palette generator →

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