#B366D5#B366D5

#B366D5 is a light, vivid purple. Relative luminance 0.239; OKLCH L 64.1% C 0.176 H 314.5°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#B366D5
RGBrgb(179, 102, 213)
HSLhsl(282, 57%, 62%)
HSVhsv(282, 52%, 84%)
CMYKcmyk(16%, 52.1%, 0%, 16.5%)
CIE-LABlab(55.98, 49.32, -44.89)
CIE-LCHlch(55.98, 66.69, 317.69°)
OKLaboklab(64.11% 0.1231 -0.1252)
OKLCHoklch(64.11% 0.176 314.5)
XYZxyz(35.3501, 23.8915, 65.6873)
Luminance0.2389 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B366D5 #88D566
analogous
#7C66D5 #B366D5 #D566BF
triadic
#B366D5 #D5B366 #66D5B3
tetradic
#B366D5 #D57C66 #88D566 #66BFD5
square
#B366D5 #D57C66 #88D566 #66BFD5
split-complementary
#B366D5 #BFD566 #66D57C
monochromatic
#762997 #9B37C7 #B366D5 #CB96E2 #E3C6EF

Accessibility & contrast

On white

3.63
#B366D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#B366D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B366D5
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B366D5#FFFFFF#000000##000000
##B366D51.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C82D9
Deuteranopia (green-blind)
#6488D2
Tritanopia (blue-blind)
#B07894
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b366d5;
/* rgb */ color: rgb(179, 102, 213);
/* oklch */ color: oklch(64.1% 0.176 314.5);
Tailwind
colors: {
  custom: {
    50: '#cc94e2',
    500: '#b366d5',
    950: '#000000',
  },
}
SCSS
$custom: #b366d5;
$custom-light: #cc94e2;
$custom-dark: #000000;
JSON
{
  "hex": "#b366d5",
  "rgb": {
    "r": 179,
    "g": 102,
    "b": 213
  },
  "hsl": {
    "h": 281.622,
    "s": 56.923,
    "l": 61.765
  },
  "oklch": {
    "l": 0.64114,
    "c": 0.17557,
    "h": 314.5
  },
  "luminance": 0.23891
}

Semantic roles & 50–950 ramp

primary
#B366D5
secondary
#C3E0B7
accent
#C42153
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140D15
muted
#827E83

Preview Lab

Preview with #B366D5

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

Preview Lab → · Contrast checker → · Palette generator →

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