#B366E2#B366E2

#B366E2 is a light, vivid violet. Relative luminance 0.246; OKLCH L 64.8% C 0.190 H 310.9°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#B366E2
RGBrgb(179, 102, 226)
HSLhsl(277, 68%, 64%)
HSVhsv(277, 55%, 89%)
CMYKcmyk(20.8%, 54.9%, 0%, 11.4%)
CIE-LABlab(56.66, 52.10, -51.14)
CIE-LCHlch(56.66, 73.00, 315.54°)
OKLaboklab(64.84% 0.124 -0.1434)
OKLCHoklch(64.84% 0.19 310.9)
XYZxyz(37.0667, 24.5782, 74.7282)
Luminance0.2458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B366E2 #95E266
analogous
#7566E2 #B366E2 #E266D3
triadic
#B366E2 #E2B366 #66E2B3
tetradic
#B366E2 #E27566 #95E266 #66D3E2
square
#B366E2 #E27566 #95E266 #66D3E2
split-complementary
#B366E2 #D3E266 #66E275
monochromatic
#7821AD #9933D8 #B366E2 #CD99EC #E6CDF6

Accessibility & contrast

On white

3.55
#B366E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#B366E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B366E2
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B366E2#FFFFFF#000000##000000
##B366E21.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4184E6
Deuteranopia (green-blind)
#5C89DF
Tritanopia (blue-blind)
#AD7C9A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b366e2;
/* rgb */ color: rgb(179, 102, 226);
/* oklch */ color: oklch(64.8% 0.190 310.9);
Tailwind
colors: {
  custom: {
    50: '#cd94ec',
    500: '#b366e2',
    950: '#000000',
  },
}
SCSS
$custom: #b366e2;
$custom-light: #cd94ec;
$custom-dark: #000000;
JSON
{
  "hex": "#b366e2",
  "rgb": {
    "r": 179,
    "g": 102,
    "b": 226
  },
  "hsl": {
    "h": 277.258,
    "s": 68.132,
    "l": 64.314
  },
  "oklch": {
    "l": 0.64838,
    "c": 0.18959,
    "h": 310.9
  },
  "luminance": 0.24577
}

Semantic roles & 50–950 ramp

primary
#B366E2
secondary
#CDE7BC
accent
#D0155C
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B366E2

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

Preview Lab → · Contrast checker → · Palette generator →

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