#B366D4#B366D4

#B366D4 is a light, vivid purple. Relative luminance 0.238; OKLCH L 64.1% C 0.174 H 314.8°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#B366D4
RGBrgb(179, 102, 212)
HSLhsl(282, 56%, 62%)
HSVhsv(282, 52%, 83%)
CMYKcmyk(15.6%, 51.9%, 0%, 16.9%)
CIE-LABlab(55.93, 49.11, -44.41)
CIE-LCHlch(55.93, 66.21, 317.88°)
OKLaboklab(64.06% 0.123 -0.1238)
OKLCHoklch(64.06% 0.174 314.8)
XYZxyz(35.2236, 23.8409, 65.0209)
Luminance0.2384 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B366D4 #87D466
analogous
#7C66D4 #B366D4 #D466BE
triadic
#B366D4 #D4B366 #66D4B3
tetradic
#B366D4 #D47C66 #87D466 #66BED4
square
#B366D4 #D47C66 #87D466 #66BED4
split-complementary
#B366D4 #BED466 #66D47C
monochromatic
#752A96 #9B37C5 #B366D4 #CB96E1 #E2C6EF

Accessibility & contrast

On white

3.64
#B366D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#B366D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B366D4
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B366D4#FFFFFF#000000##000000
##B366D41.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D82D8
Deuteranopia (green-blind)
#6588D1
Tritanopia (blue-blind)
#B17794
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b366d4;
/* rgb */ color: rgb(179, 102, 212);
/* oklch */ color: oklch(64.1% 0.174 314.8);
Tailwind
colors: {
  custom: {
    50: '#cc94e2',
    500: '#b366d4',
    950: '#000000',
  },
}
SCSS
$custom: #b366d4;
$custom-light: #cc94e2;
$custom-dark: #000000;
JSON
{
  "hex": "#b366d4",
  "rgb": {
    "r": 179,
    "g": 102,
    "b": 212
  },
  "hsl": {
    "h": 282,
    "s": 56.122,
    "l": 61.569
  },
  "oklch": {
    "l": 0.6406,
    "c": 0.17449,
    "h": 314.8
  },
  "luminance": 0.2384
}

Semantic roles & 50–950 ramp

primary
#B366D4
secondary
#C3DFB6
accent
#C42252
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140D15
muted
#827E83

Preview Lab

Preview with #B366D4

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

Preview Lab → · Contrast checker → · Palette generator →

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