#B366CF#B366CF

#B366CF is a light, vivid purple. Relative luminance 0.236; OKLCH L 63.8% C 0.169 H 316.4°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#B366CF
RGBrgb(179, 102, 207)
HSLhsl(284, 52%, 61%)
HSVhsv(284, 51%, 81%)
CMYKcmyk(13.5%, 50.7%, 0%, 18.8%)
CIE-LABlab(55.68, 48.07, -41.97)
CIE-LCHlch(55.68, 63.81, 318.88°)
OKLaboklab(63.79% 0.1225 -0.1167)
OKLCHoklch(63.79% 0.169 316.4)
XYZxyz(34.6026, 23.5925, 61.7504)
Luminance0.2359 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B366CF #82CF66
analogous
#7E66CF #B366CF #CF66B6
triadic
#B366CF #CFB366 #66CFB3
tetradic
#B366CF #CF7E66 #82CF66 #66B6CF
square
#B366CF #CF7E66 #82CF66 #66B6CF
split-complementary
#B366CF #B6CF66 #66CF7E
monochromatic
#742D8E #9A3BBD #B366CF #CA95DE #E1C3EC

Accessibility & contrast

On white

3.67
#B366CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#B366CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B366CF
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B366CF#FFFFFF#000000##000000
##B366CF1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5081D3
Deuteranopia (green-blind)
#6888CC
Tritanopia (blue-blind)
#B27691
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b366cf;
/* rgb */ color: rgb(179, 102, 207);
/* oklch */ color: oklch(63.8% 0.169 316.4);
Tailwind
colors: {
  custom: {
    50: '#cc94de',
    500: '#b366cf',
    950: '#000000',
  },
}
SCSS
$custom: #b366cf;
$custom-light: #cc94de;
$custom-dark: #000000;
JSON
{
  "hex": "#b366cf",
  "rgb": {
    "r": 179,
    "g": 102,
    "b": 207
  },
  "hsl": {
    "h": 284,
    "s": 52.239,
    "l": 60.588
  },
  "oklch": {
    "l": 0.63793,
    "c": 0.16917,
    "h": 316.4
  },
  "luminance": 0.23591
}

Semantic roles & 50–950 ramp

primary
#B366CF
secondary
#BFDCB4
accent
#C0264F
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140D15
muted
#827E83

Preview Lab

Preview with #B366CF

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

Preview Lab → · Contrast checker → · Palette generator →

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