#B366EF#B366EF

#B366EF is a light, highly saturated violet. Relative luminance 0.253; OKLCH L 65.6% C 0.204 H 307.7°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#B366EF
RGBrgb(179, 102, 239)
HSLhsl(274, 81%, 67%)
HSVhsv(274, 57%, 94%)
CMYKcmyk(25.1%, 57.3%, 0%, 6.3%)
CIE-LABlab(57.38, 54.97, -57.25)
CIE-LCHlch(57.38, 79.37, 313.84°)
OKLaboklab(65.6% 0.1245 -0.1613)
OKLCHoklch(65.6% 0.204 307.7)
XYZxyz(38.9186, 25.3189, 84.4814)
Luminance0.2532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B366EF #A2EF66
analogous
#6F66EF #B366EF #EF66E6
triadic
#B366EF #EFB366 #66EFB3
tetradic
#B366EF #EF6F66 #A2EF66 #66E6EF
square
#B366EF #EF6F66 #A2EF66 #66E6EF
split-complementary
#B366EF #E6EF66 #66EF6F
monochromatic
#7815C6 #972FE9 #B366EF #CF9DF5 #EAD5FB

Accessibility & contrast

On white

3.46
#B366EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#B366EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B366EF
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B366EF#FFFFFF#000000##000000
##B366EF1.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3287F3
Deuteranopia (green-blind)
#518BEC
Tritanopia (blue-blind)
#AA80A1
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b366ef;
/* rgb */ color: rgb(179, 102, 239);
/* oklch */ color: oklch(65.6% 0.204 307.7);
Tailwind
colors: {
  custom: {
    50: '#cd95f5',
    500: '#b366ef',
    950: '#000000',
  },
}
SCSS
$custom: #b366ef;
$custom-light: #cd95f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b366ef",
  "rgb": {
    "r": 179,
    "g": 102,
    "b": 239
  },
  "hsl": {
    "h": 273.723,
    "s": 81.065,
    "l": 66.863
  },
  "oklch": {
    "l": 0.65601,
    "c": 0.20373,
    "h": 307.7
  },
  "luminance": 0.25318
}

Semantic roles & 50–950 ramp

primary
#B366EF
secondary
#D6EEC2
accent
#DD0866
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140D17
muted
#837E85

Preview Lab

Preview with #B366EF

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

Preview Lab → · Contrast checker → · Palette generator →

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