#B366F8#B366F8

#B366F8 is a light, highly saturated violet. Relative luminance 0.259; OKLCH L 66.2% C 0.214 H 305.7°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#B366F8
RGBrgb(179, 102, 248)
HSLhsl(272, 91%, 69%)
HSVhsv(272, 59%, 97%)
CMYKcmyk(27.8%, 58.9%, 0%, 2.7%)
CIE-LABlab(57.91, 57.00, -61.42)
CIE-LCHlch(57.91, 83.79, 312.87°)
OKLaboklab(66.15% 0.1245 -0.1735)
OKLCHoklch(66.15% 0.214 305.7)
XYZxyz(40.2814, 25.8641, 91.6589)
Luminance0.2586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B366F8 #ABF866
analogous
#6A66F8 #B366F8 #F866F4
triadic
#B366F8 #F8B366 #66F8B3
tetradic
#B366F8 #F86A66 #ABF866 #66F4F8
square
#B366F8 #F86A66 #ABF866 #66F4F8
split-complementary
#B366F8 #F4F866 #66F86A
monochromatic
#770ADA #962BF5 #B366F8 #D0A1FB #EDDBFD

Accessibility & contrast

On white

3.40
#B366F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#B366F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B366F8
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B366F8#FFFFFF#000000##000000
##B366F81.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2289FD
Deuteranopia (green-blind)
#498BF5
Tritanopia (blue-blind)
#A783A6
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b366f8;
/* rgb */ color: rgb(179, 102, 248);
/* oklch */ color: oklch(66.2% 0.214 305.7);
Tailwind
colors: {
  custom: {
    50: '#ce95fb',
    500: '#b366f8',
    950: '#000000',
  },
}
SCSS
$custom: #b366f8;
$custom-light: #ce95fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b366f8",
  "rgb": {
    "r": 179,
    "g": 102,
    "b": 248
  },
  "hsl": {
    "h": 271.644,
    "s": 91.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.66151,
    "c": 0.21351,
    "h": 305.7
  },
  "luminance": 0.25864
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B366F8

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

Preview Lab → · Contrast checker → · Palette generator →

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