#B366D7#B366D7

#B366D7 is a light, vivid purple. Relative luminance 0.240; OKLCH L 64.2% C 0.178 H 313.9°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#B366D7
RGBrgb(179, 102, 215)
HSLhsl(281, 59%, 62%)
HSVhsv(281, 53%, 84%)
CMYKcmyk(16.7%, 52.6%, 0%, 15.7%)
CIE-LABlab(56.08, 49.74, -45.86)
CIE-LCHlch(56.08, 67.66, 317.32°)
OKLaboklab(64.22% 0.1233 -0.128)
OKLCHoklch(64.22% 0.178 313.9)
XYZxyz(35.6055, 23.9937, 67.0324)
Luminance0.2399 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B366D7 #8AD766
analogous
#7B66D7 #B366D7 #D766C2
triadic
#B366D7 #D7B366 #66D7B3
tetradic
#B366D7 #D77B66 #8AD766 #66C2D7
square
#B366D7 #D77B66 #8AD766 #66C2D7
split-complementary
#B366D7 #C2D766 #66D77B
monochromatic
#76289A #9B35CA #B366D7 #CB97E4 #E3C7F0

Accessibility & contrast

On white

3.62
#B366D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#B366D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B366D7
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B366D7#FFFFFF#000000##000000
##B366D71.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A82DB
Deuteranopia (green-blind)
#6388D4
Tritanopia (blue-blind)
#B07895
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b366d7;
/* rgb */ color: rgb(179, 102, 215);
/* oklch */ color: oklch(64.2% 0.178 313.9);
Tailwind
colors: {
  custom: {
    50: '#cc94e4',
    500: '#b366d7',
    950: '#000000',
  },
}
SCSS
$custom: #b366d7;
$custom-light: #cc94e4;
$custom-dark: #000000;
JSON
{
  "hex": "#b366d7",
  "rgb": {
    "r": 179,
    "g": 102,
    "b": 215
  },
  "hsl": {
    "h": 280.885,
    "s": 58.549,
    "l": 62.157
  },
  "oklch": {
    "l": 0.64223,
    "c": 0.17772,
    "h": 313.9
  },
  "luminance": 0.23993
}

Semantic roles & 50–950 ramp

primary
#B366D7
secondary
#C5E1B8
accent
#C61F54
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140D15
muted
#827E84

Preview Lab

Preview with #B366D7

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

Preview Lab → · Contrast checker → · Palette generator →

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