#B366EB#B366EB

#B366EB is a light, vivid violet. Relative luminance 0.251; OKLCH L 65.4% C 0.199 H 308.6°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#B366EB
RGBrgb(179, 102, 235)
HSLhsl(275, 77%, 66%)
HSVhsv(275, 57%, 92%)
CMYKcmyk(23.8%, 56.6%, 0%, 7.8%)
CIE-LABlab(57.16, 54.08, -55.38)
CIE-LCHlch(57.16, 77.41, 314.32°)
OKLaboklab(65.36% 0.1244 -0.1558)
OKLCHoklch(65.36% 0.199 308.6)
XYZxyz(38.3342, 25.0852, 81.4036)
Luminance0.2509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B366EB #9EEB66
analogous
#7066EB #B366EB #EB66E0
triadic
#B366EB #EBB366 #66EBB3
tetradic
#B366EB #EB7066 #9EEB66 #66E0EB
square
#B366EB #EB7066 #9EEB66 #66E0EB
split-complementary
#B366EB #E0EB66 #66EB70
monochromatic
#7819BE #9830E4 #B366EB #CE9CF2 #E9D2F9

Accessibility & contrast

On white

3.49
#B366EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#B366EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B366EB
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B366EB#FFFFFF#000000##000000
##B366EB1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3786EF
Deuteranopia (green-blind)
#558AE8
Tritanopia (blue-blind)
#AB7F9F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b366eb;
/* rgb */ color: rgb(179, 102, 235);
/* oklch */ color: oklch(65.4% 0.199 308.6);
Tailwind
colors: {
  custom: {
    50: '#cd95f2',
    500: '#b366eb',
    950: '#000000',
  },
}
SCSS
$custom: #b366eb;
$custom-light: #cd95f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b366eb",
  "rgb": {
    "r": 179,
    "g": 102,
    "b": 235
  },
  "hsl": {
    "h": 274.737,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.65363,
    "c": 0.19937,
    "h": 308.6
  },
  "luminance": 0.25085
}

Semantic roles & 50–950 ramp

primary
#B366EB
secondary
#D3ECC1
accent
#D90C63
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #B366EB

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

Preview Lab → · Contrast checker → · Palette generator →

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