#B366FE#B366FE

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

Color values

HEX#B366FE
RGBrgb(179, 102, 254)
HSLhsl(270, 99%, 70%)
HSVhsv(270, 60%, 100%)
CMYKcmyk(29.5%, 59.8%, 0%, 0.4%)
CIE-LABlab(58.27, 58.37, -64.16)
CIE-LCHlch(58.27, 86.74, 312.30°)
OKLaboklab(66.53% 0.1244 -0.1815)
OKLCHoklch(66.53% 0.22 304.4)
XYZxyz(41.2272, 26.2424, 96.6401)
Luminance0.2624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B366FE #B1FE66
analogous
#6766FE #B366FE #FE66FD
triadic
#B366FE #FEB366 #66FEB3
tetradic
#B366FE #FE6766 #B1FE66 #66FDFE
square
#B366FE #FE6766 #B1FE66 #66FDFE
split-complementary
#B366FE #FDFE66 #66FE67
monochromatic
#7602E8 #9529FE #B366FE #D1A3FE #EFE0FF

Accessibility & contrast

On white

3.36
#B366FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#B366FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B366FE
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B366FE#FFFFFF#000000##000000
##B366FE1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#118AFF
Deuteranopia (green-blind)
#428CFB
Tritanopia (blue-blind)
#A585A9
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b366fe;
/* rgb */ color: rgb(179, 102, 254);
/* oklch */ color: oklch(66.5% 0.220 304.4);
Tailwind
colors: {
  custom: {
    50: '#ce95ff',
    500: '#b366fe',
    950: '#000000',
  },
}
SCSS
$custom: #b366fe;
$custom-light: #ce95ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b366fe",
  "rgb": {
    "r": 179,
    "g": 102,
    "b": 254
  },
  "hsl": {
    "h": 270.395,
    "s": 98.701,
    "l": 69.804
  },
  "oklch": {
    "l": 0.66527,
    "c": 0.22004,
    "h": 304.4
  },
  "luminance": 0.26242
}

Semantic roles & 50–950 ramp

primary
#B366FE
secondary
#E0F5CA
accent
#E60071
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #B366FE

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

Preview Lab → · Contrast checker → · Palette generator →

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