#B366DB#B366DB

#B366DB is a light, vivid violet. Relative luminance 0.242; OKLCH L 64.4% C 0.182 H 312.8°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#B366DB
RGBrgb(179, 102, 219)
HSLhsl(279, 62%, 63%)
HSVhsv(279, 53%, 86%)
CMYKcmyk(18.3%, 53.4%, 0%, 14.1%)
CIE-LABlab(56.29, 50.59, -47.79)
CIE-LCHlch(56.29, 69.60, 316.63°)
OKLaboklab(64.44% 0.1236 -0.1336)
OKLCHoklch(64.44% 0.182 312.8)
XYZxyz(36.1258, 24.2018, 69.7725)
Luminance0.2420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B366DB #8EDB66
analogous
#7866DB #B366DB #DB66C9
triadic
#B366DB #DBB366 #66DBB3
tetradic
#B366DB #DB7866 #8EDB66 #66C9DB
square
#B366DB #DB7866 #8EDB66 #66C9DB
split-complementary
#B366DB #C9DB66 #66DB78
monochromatic
#7726A1 #9A34CF #B366DB #CC98E7 #E4C9F2

Accessibility & contrast

On white

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

On black

5.84
#B366DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B366DB
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B366DB#FFFFFF#000000##000000
##B366DB1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4783DF
Deuteranopia (green-blind)
#6189D8
Tritanopia (blue-blind)
#AF7997
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b366db;
/* rgb */ color: rgb(179, 102, 219);
/* oklch */ color: oklch(64.4% 0.182 312.8);
Tailwind
colors: {
  custom: {
    50: '#cc94e7',
    500: '#b366db',
    950: '#000000',
  },
}
SCSS
$custom: #b366db;
$custom-light: #cc94e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b366db",
  "rgb": {
    "r": 179,
    "g": 102,
    "b": 219
  },
  "hsl": {
    "h": 279.487,
    "s": 61.905,
    "l": 62.941
  },
  "oklch": {
    "l": 0.64443,
    "c": 0.18202,
    "h": 312.8
  },
  "luminance": 0.24201
}

Semantic roles & 50–950 ramp

primary
#B366DB
secondary
#C8E3B9
accent
#CA1C57
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B366DB

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

Preview Lab → · Contrast checker → · Palette generator →

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