#B366F6#B366F6

#B366F6 is a light, highly saturated violet. Relative luminance 0.257; OKLCH L 66.0% C 0.211 H 306.1°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#B366F6
RGBrgb(179, 102, 246)
HSLhsl(272, 89%, 68%)
HSVhsv(272, 59%, 96%)
CMYKcmyk(27.2%, 58.5%, 0%, 3.5%)
CIE-LABlab(57.79, 56.55, -60.50)
CIE-LCHlch(57.79, 82.81, 313.07°)
OKLaboklab(66.03% 0.1245 -0.1708)
OKLCHoklch(66.03% 0.211 306.1)
XYZxyz(39.9728, 25.7406, 90.0335)
Luminance0.2574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B366F6 #A9F666
analogous
#6B66F6 #B366F6 #F666F1
triadic
#B366F6 #F6B366 #66F6B3
tetradic
#B366F6 #F66B66 #A9F666 #66F1F6
square
#B366F6 #F66B66 #A9F666 #66F1F6
split-complementary
#B366F6 #F1F666 #66F66B
monochromatic
#780DD5 #962CF3 #B366F6 #D0A0F9 #ECDAFD

Accessibility & contrast

On white

3.42
#B366F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#B366F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B366F6
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B366F6#FFFFFF#000000##000000
##B366F61.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2688FB
Deuteranopia (green-blind)
#4B8BF3
Tritanopia (blue-blind)
#A882A5
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b366f6;
/* rgb */ color: rgb(179, 102, 246);
/* oklch */ color: oklch(66.0% 0.211 306.1);
Tailwind
colors: {
  custom: {
    50: '#ce95fa',
    500: '#b366f6',
    950: '#000000',
  },
}
SCSS
$custom: #b366f6;
$custom-light: #ce95fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b366f6",
  "rgb": {
    "r": 179,
    "g": 102,
    "b": 246
  },
  "hsl": {
    "h": 272.083,
    "s": 88.889,
    "l": 68.235
  },
  "oklch": {
    "l": 0.66028,
    "c": 0.21134,
    "h": 306.1
  },
  "luminance": 0.2574
}

Semantic roles & 50–950 ramp

primary
#B366F6
secondary
#DAF2C6
accent
#E6006B
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B366F6

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

Preview Lab → · Contrast checker → · Palette generator →

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