#B366F1#B366F1

#B366F1 is a light, highly saturated violet. Relative luminance 0.254; OKLCH L 65.7% C 0.206 H 307.2°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#B366F1
RGBrgb(179, 102, 241)
HSLhsl(273, 83%, 67%)
HSVhsv(273, 58%, 95%)
CMYKcmyk(25.7%, 57.7%, 0%, 5.5%)
CIE-LABlab(57.50, 55.42, -58.18)
CIE-LCHlch(57.50, 80.35, 313.61°)
OKLaboklab(65.72% 0.1245 -0.164)
OKLCHoklch(65.72% 0.206 307.2)
XYZxyz(39.2157, 25.4378, 86.0461)
Luminance0.2544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B366F1 #A4F166
analogous
#6D66F1 #B366F1 #F166EA
triadic
#B366F1 #F1B366 #66F1B3
tetradic
#B366F1 #F16D66 #A4F166 #66EAF1
square
#B366F1 #F16D66 #A4F166 #66EAF1
split-complementary
#B366F1 #EAF166 #66F16D
monochromatic
#7812CA #972EEC #B366F1 #CF9EF6 #EBD6FB

Accessibility & contrast

On white

3.45
#B366F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#B366F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B366F1
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B366F1#FFFFFF#000000##000000
##B366F11.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F87F5
Deuteranopia (green-blind)
#508BEE
Tritanopia (blue-blind)
#A981A2
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b366f1;
/* rgb */ color: rgb(179, 102, 241);
/* oklch */ color: oklch(65.7% 0.206 307.2);
Tailwind
colors: {
  custom: {
    50: '#cd95f6',
    500: '#b366f1',
    950: '#000000',
  },
}
SCSS
$custom: #b366f1;
$custom-light: #cd95f6;
$custom-dark: #000000;
JSON
{
  "hex": "#b366f1",
  "rgb": {
    "r": 179,
    "g": 102,
    "b": 241
  },
  "hsl": {
    "h": 273.237,
    "s": 83.234,
    "l": 67.255
  },
  "oklch": {
    "l": 0.65722,
    "c": 0.2059,
    "h": 307.2
  },
  "luminance": 0.25437
}

Semantic roles & 50–950 ramp

primary
#B366F1
secondary
#D7EFC3
accent
#E00667
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B366F1

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

Preview Lab → · Contrast checker → · Palette generator →

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