#B366FD#B366FD

#B366FD is a light, highly saturated violet. Relative luminance 0.262; OKLCH L 66.5% C 0.219 H 304.6°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#B366FD
RGBrgb(179, 102, 253)
HSLhsl(271, 97%, 70%)
HSVhsv(271, 60%, 99%)
CMYKcmyk(29.2%, 59.7%, 0%, 0.8%)
CIE-LABlab(58.21, 58.14, -63.70)
CIE-LCHlch(58.21, 86.25, 312.39°)
OKLaboklab(66.46% 0.1244 -0.1802)
OKLCHoklch(66.46% 0.219 304.6)
XYZxyz(41.0675, 26.1785, 95.7989)
Luminance0.2618 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B366FD #B0FD66
analogous
#6866FD #B366FD #FD66FB
triadic
#B366FD #FDB366 #66FDB3
tetradic
#B366FD #FD6866 #B0FD66 #66FBFD
square
#B366FD #FD6866 #B0FD66 #66FBFD
split-complementary
#B366FD #FBFD66 #66FD68
monochromatic
#7703E6 #952AFC #B366FD #D1A2FE #EFDFFF

Accessibility & contrast

On white

3.37
#B366FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#B366FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B366FD
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B366FD#FFFFFF#000000##000000
##B366FD1.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#158AFF
Deuteranopia (green-blind)
#438CFA
Tritanopia (blue-blind)
#A685A8
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b366fd;
/* rgb */ color: rgb(179, 102, 253);
/* oklch */ color: oklch(66.5% 0.219 304.6);
Tailwind
colors: {
  custom: {
    50: '#ce95ff',
    500: '#b366fd',
    950: '#000000',
  },
}
SCSS
$custom: #b366fd;
$custom-light: #ce95ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b366fd",
  "rgb": {
    "r": 179,
    "g": 102,
    "b": 253
  },
  "hsl": {
    "h": 270.596,
    "s": 97.419,
    "l": 69.608
  },
  "oklch": {
    "l": 0.66464,
    "c": 0.21895,
    "h": 304.6
  },
  "luminance": 0.26178
}

Semantic roles & 50–950 ramp

primary
#B366FD
secondary
#DFF5CA
accent
#E60070
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #B366FD

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

Preview Lab → · Contrast checker → · Palette generator →

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