#B366FC#B366FC

#B366FC is a light, highly saturated violet. Relative luminance 0.261; OKLCH L 66.4% C 0.218 H 304.8°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#B366FC
RGBrgb(179, 102, 252)
HSLhsl(271, 96%, 69%)
HSVhsv(271, 60%, 99%)
CMYKcmyk(29%, 59.5%, 0%, 1.2%)
CIE-LABlab(58.15, 57.92, -63.25)
CIE-LCHlch(58.15, 85.76, 312.48°)
OKLaboklab(66.4% 0.1244 -0.1788)
OKLCHoklch(66.4% 0.218 304.8)
XYZxyz(40.9086, 26.1149, 94.9621)
Luminance0.2611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B366FC #AFFC66
analogous
#6866FC #B366FC #FC66FA
triadic
#B366FC #FCB366 #66FCB3
tetradic
#B366FC #FC6866 #AFFC66 #66FAFC
square
#B366FC #FC6866 #AFFC66 #66FAFC
split-complementary
#B366FC #FAFC66 #66FC68
monochromatic
#7704E3 #952AFB #B366FC #D1A2FD #EFDEFE

Accessibility & contrast

On white

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

On black

6.22
#B366FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B366FC
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B366FC#FFFFFF#000000##000000
##B366FC1.003.376.226.22
#FFFFFF3.371.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#188AFF
Deuteranopia (green-blind)
#448CF9
Tritanopia (blue-blind)
#A684A8
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b366fc;
/* rgb */ color: rgb(179, 102, 252);
/* oklch */ color: oklch(66.4% 0.218 304.8);
Tailwind
colors: {
  custom: {
    50: '#ce95fe',
    500: '#b366fc',
    950: '#000000',
  },
}
SCSS
$custom: #b366fc;
$custom-light: #ce95fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b366fc",
  "rgb": {
    "r": 179,
    "g": 102,
    "b": 252
  },
  "hsl": {
    "h": 270.8,
    "s": 96.154,
    "l": 69.412
  },
  "oklch": {
    "l": 0.66401,
    "c": 0.21786,
    "h": 304.8
  },
  "luminance": 0.26115
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B366FC

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

Preview Lab → · Contrast checker → · Palette generator →

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