#B366F7#B366F7

#B366F7 is a light, highly saturated violet. Relative luminance 0.258; OKLCH L 66.1% C 0.212 H 305.9°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#B366F7
RGBrgb(179, 102, 247)
HSLhsl(272, 90%, 68%)
HSVhsv(272, 59%, 97%)
CMYKcmyk(27.5%, 58.7%, 0%, 3.1%)
CIE-LABlab(57.85, 56.78, -60.96)
CIE-LCHlch(57.85, 83.30, 312.97°)
OKLaboklab(66.09% 0.1245 -0.1721)
OKLCHoklch(66.09% 0.212 305.9)
XYZxyz(40.1267, 25.8022, 90.8440)
Luminance0.2580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B366F7 #AAF766
analogous
#6A66F7 #B366F7 #F766F2
triadic
#B366F7 #F7B366 #66F7B3
tetradic
#B366F7 #F76A66 #AAF766 #66F2F7
square
#B366F7 #F76A66 #AAF766 #66F2F7
split-complementary
#B366F7 #F2F766 #66F76A
monochromatic
#780BD7 #962CF4 #B366F7 #D0A0FA #EDDAFD

Accessibility & contrast

On white

3.41
#B366F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#B366F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B366F7
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B366F7#FFFFFF#000000##000000
##B366F71.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2489FC
Deuteranopia (green-blind)
#4A8BF4
Tritanopia (blue-blind)
#A883A5
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b366f7;
/* rgb */ color: rgb(179, 102, 247);
/* oklch */ color: oklch(66.1% 0.212 305.9);
Tailwind
colors: {
  custom: {
    50: '#ce95fb',
    500: '#b366f7',
    950: '#000000',
  },
}
SCSS
$custom: #b366f7;
$custom-light: #ce95fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b366f7",
  "rgb": {
    "r": 179,
    "g": 102,
    "b": 247
  },
  "hsl": {
    "h": 271.862,
    "s": 90.062,
    "l": 68.431
  },
  "oklch": {
    "l": 0.66089,
    "c": 0.21242,
    "h": 305.9
  },
  "luminance": 0.25802
}

Semantic roles & 50–950 ramp

primary
#B366F7
secondary
#DBF2C7
accent
#E6006C
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B366F7

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

Preview Lab → · Contrast checker → · Palette generator →

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