#B366F4#B366F4

#B366F4 is a light, highly saturated violet. Relative luminance 0.256; OKLCH L 65.9% C 0.209 H 306.5°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#B366F4
RGBrgb(179, 102, 244)
HSLhsl(273, 87%, 68%)
HSVhsv(273, 58%, 96%)
CMYKcmyk(26.6%, 58.2%, 0%, 4.3%)
CIE-LABlab(57.67, 56.10, -59.57)
CIE-LCHlch(57.67, 81.83, 313.28°)
OKLaboklab(65.91% 0.1245 -0.1681)
OKLCHoklch(65.91% 0.209 306.5)
XYZxyz(39.6675, 25.6185, 88.4256)
Luminance0.2562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B366F4 #A7F466
analogous
#6C66F4 #B366F4 #F466EE
triadic
#B366F4 #F4B366 #66F4B3
tetradic
#B366F4 #F46C66 #A7F466 #66EEF4
square
#B366F4 #F46C66 #A7F466 #66EEF4
split-complementary
#B366F4 #EEF466 #66F46C
monochromatic
#780FD1 #972DF0 #B366F4 #CF9FF8 #ECD8FC

Accessibility & contrast

On white

3.43
#B366F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#B366F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B366F4
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B366F4#FFFFFF#000000##000000
##B366F41.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A88F9
Deuteranopia (green-blind)
#4D8BF1
Tritanopia (blue-blind)
#A882A4
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b366f4;
/* rgb */ color: rgb(179, 102, 244);
/* oklch */ color: oklch(65.9% 0.209 306.5);
Tailwind
colors: {
  custom: {
    50: '#cd95f8',
    500: '#b366f4',
    950: '#000000',
  },
}
SCSS
$custom: #b366f4;
$custom-light: #cd95f8;
$custom-dark: #000000;
JSON
{
  "hex": "#b366f4",
  "rgb": {
    "r": 179,
    "g": 102,
    "b": 244
  },
  "hsl": {
    "h": 272.535,
    "s": 86.585,
    "l": 67.843
  },
  "oklch": {
    "l": 0.65905,
    "c": 0.20916,
    "h": 306.5
  },
  "luminance": 0.25618
}

Semantic roles & 50–950 ramp

primary
#B366F4
secondary
#D9F1C5
accent
#E30269
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B366F4

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

Preview Lab → · Contrast checker → · Palette generator →

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