#B366DC#B366DC

#B366DC is a light, vivid violet. Relative luminance 0.243; OKLCH L 64.5% C 0.183 H 312.5°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#B366DC
RGBrgb(179, 102, 220)
HSLhsl(279, 63%, 63%)
HSVhsv(279, 54%, 86%)
CMYKcmyk(18.6%, 53.6%, 0%, 13.7%)
CIE-LABlab(56.34, 50.81, -48.27)
CIE-LCHlch(56.34, 70.08, 316.47°)
OKLaboklab(64.5% 0.1237 -0.135)
OKLCHoklch(64.5% 0.183 312.5)
XYZxyz(36.2578, 24.2546, 70.4679)
Luminance0.2425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B366DC #8FDC66
analogous
#7866DC #B366DC #DC66CA
triadic
#B366DC #DCB366 #66DCB3
tetradic
#B366DC #DC7866 #8FDC66 #66CADC
square
#B366DC #DC7866 #8FDC66 #66CADC
split-complementary
#B366DC #CADC66 #66DC78
monochromatic
#7725A2 #9A34D1 #B366DC #CC98E7 #E4CAF3

Accessibility & contrast

On white

3.59
#B366DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#B366DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B366DC
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B366DC#FFFFFF#000000##000000
##B366DC1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4683E0
Deuteranopia (green-blind)
#6089D9
Tritanopia (blue-blind)
#AF7A97
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b366dc;
/* rgb */ color: rgb(179, 102, 220);
/* oklch */ color: oklch(64.5% 0.183 312.5);
Tailwind
colors: {
  custom: {
    50: '#cc94e7',
    500: '#b366dc',
    950: '#000000',
  },
}
SCSS
$custom: #b366dc;
$custom-light: #cc94e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b366dc",
  "rgb": {
    "r": 179,
    "g": 102,
    "b": 220
  },
  "hsl": {
    "h": 279.153,
    "s": 62.766,
    "l": 63.137
  },
  "oklch": {
    "l": 0.64499,
    "c": 0.1831,
    "h": 312.5
  },
  "luminance": 0.24254
}

Semantic roles & 50–950 ramp

primary
#B366DC
secondary
#C8E4BA
accent
#CB1B58
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B366DC

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

Preview Lab → · Contrast checker → · Palette generator →

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