#B366DA#B366DA

#B366DA is a light, vivid violet. Relative luminance 0.241; OKLCH L 64.4% C 0.181 H 313.1°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#B366DA
RGBrgb(179, 102, 218)
HSLhsl(280, 61%, 63%)
HSVhsv(280, 53%, 85%)
CMYKcmyk(17.9%, 53.2%, 0%, 14.5%)
CIE-LABlab(56.24, 50.38, -47.31)
CIE-LCHlch(56.24, 69.11, 316.80°)
OKLaboklab(64.39% 0.1235 -0.1322)
OKLCHoklch(64.39% 0.181 313.1)
XYZxyz(35.9945, 24.1493, 69.0812)
Luminance0.2415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B366DA #8DDA66
analogous
#7966DA #B366DA #DA66C7
triadic
#B366DA #DAB366 #66DAB3
tetradic
#B366DA #DA7966 #8DDA66 #66C7DA
square
#B366DA #DA7966 #8DDA66 #66C7DA
split-complementary
#B366DA #C7DA66 #66DA79
monochromatic
#77269F #9B35CE #B366DA #CB97E6 #E4C9F2

Accessibility & contrast

On white

3.60
#B366DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#B366DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B366DA
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B366DA#FFFFFF#000000##000000
##B366DA1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4883DE
Deuteranopia (green-blind)
#6189D7
Tritanopia (blue-blind)
#AF7996
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b366da;
/* rgb */ color: rgb(179, 102, 218);
/* oklch */ color: oklch(64.4% 0.181 313.1);
Tailwind
colors: {
  custom: {
    50: '#cc94e6',
    500: '#b366da',
    950: '#000000',
  },
}
SCSS
$custom: #b366da;
$custom-light: #cc94e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b366da",
  "rgb": {
    "r": 179,
    "g": 102,
    "b": 218
  },
  "hsl": {
    "h": 279.828,
    "s": 61.053,
    "l": 62.745
  },
  "oklch": {
    "l": 0.64388,
    "c": 0.18094,
    "h": 313.1
  },
  "luminance": 0.24148
}

Semantic roles & 50–950 ramp

primary
#B366DA
secondary
#C7E3B9
accent
#C91D57
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B366DA

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

Preview Lab → · Contrast checker → · Palette generator →

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