#B366F0#B366F0

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

Color values

HEX#B366F0
RGBrgb(179, 102, 240)
HSLhsl(273, 82%, 67%)
HSVhsv(273, 58%, 94%)
CMYKcmyk(25.4%, 57.5%, 0%, 5.9%)
CIE-LABlab(57.44, 55.20, -57.72)
CIE-LCHlch(57.44, 79.86, 313.72°)
OKLaboklab(65.66% 0.1245 -0.1626)
OKLCHoklch(65.66% 0.205 307.4)
XYZxyz(39.0667, 25.3782, 85.2616)
Luminance0.2538 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B366F0 #A3F066
analogous
#6E66F0 #B366F0 #F066E8
triadic
#B366F0 #F0B366 #66F0B3
tetradic
#B366F0 #F06E66 #A3F066 #66E8F0
square
#B366F0 #F06E66 #A3F066 #66E8F0
split-complementary
#B366F0 #E8F066 #66F06E
monochromatic
#7814C8 #972EEB #B366F0 #CF9EF5 #EAD5FB

Accessibility & contrast

On white

3.46
#B366F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#B366F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B366F0
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B366F0#FFFFFF#000000##000000
##B366F01.003.466.086.08
#FFFFFF3.461.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3087F4
Deuteranopia (green-blind)
#518BED
Tritanopia (blue-blind)
#AA80A1
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b366f0;
/* rgb */ color: rgb(179, 102, 240);
/* oklch */ color: oklch(65.7% 0.205 307.4);
Tailwind
colors: {
  custom: {
    50: '#cd95f6',
    500: '#b366f0',
    950: '#000000',
  },
}
SCSS
$custom: #b366f0;
$custom-light: #cd95f6;
$custom-dark: #000000;
JSON
{
  "hex": "#b366f0",
  "rgb": {
    "r": 179,
    "g": 102,
    "b": 240
  },
  "hsl": {
    "h": 273.478,
    "s": 82.143,
    "l": 67.059
  },
  "oklch": {
    "l": 0.65662,
    "c": 0.20481,
    "h": 307.4
  },
  "luminance": 0.25378
}

Semantic roles & 50–950 ramp

primary
#B366F0
secondary
#D6EFC3
accent
#DF0766
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140D17
muted
#837E85

Preview Lab

Preview with #B366F0

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

Preview Lab → · Contrast checker → · Palette generator →

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