#B366E0#B366E0

#B366E0 is a light, vivid violet. Relative luminance 0.245; OKLCH L 64.7% C 0.187 H 311.4°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#B366E0
RGBrgb(179, 102, 224)
HSLhsl(278, 66%, 64%)
HSVhsv(278, 54%, 88%)
CMYKcmyk(20.1%, 54.5%, 0%, 12.2%)
CIE-LABlab(56.55, 51.67, -50.18)
CIE-LCHlch(56.55, 72.03, 315.84°)
OKLaboklab(64.72% 0.1239 -0.1406)
OKLCHoklch(64.72% 0.187 311.4)
XYZxyz(36.7939, 24.4691, 73.2913)
Luminance0.2447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B366E0 #93E066
analogous
#7666E0 #B366E0 #E066D0
triadic
#B366E0 #E0B366 #66E0B3
tetradic
#B366E0 #E07666 #93E066 #66D0E0
square
#B366E0 #E07666 #93E066 #66D0E0
split-complementary
#B366E0 #D0E066 #66E076
monochromatic
#7822A9 #9A33D6 #B366E0 #CC99EA #E6CCF5

Accessibility & contrast

On white

3.56
#B366E0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#B366E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B366E0
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B366E0#FFFFFF#000000##000000
##B366E01.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4384E4
Deuteranopia (green-blind)
#5D89DD
Tritanopia (blue-blind)
#AE7B99
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b366e0;
/* rgb */ color: rgb(179, 102, 224);
/* oklch */ color: oklch(64.7% 0.187 311.4);
Tailwind
colors: {
  custom: {
    50: '#cc94ea',
    500: '#b366e0',
    950: '#000000',
  },
}
SCSS
$custom: #b366e0;
$custom-light: #cc94ea;
$custom-dark: #000000;
JSON
{
  "hex": "#b366e0",
  "rgb": {
    "r": 179,
    "g": 102,
    "b": 224
  },
  "hsl": {
    "h": 277.869,
    "s": 66.304,
    "l": 63.922
  },
  "oklch": {
    "l": 0.64724,
    "c": 0.18742,
    "h": 311.4
  },
  "luminance": 0.24468
}

Semantic roles & 50–950 ramp

primary
#B366E0
secondary
#CBE6BC
accent
#CE175B
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B366E0

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

Preview Lab → · Contrast checker → · Palette generator →

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