#B366C5#B366C5

#B366C5 is a light, vivid purple. Relative luminance 0.231; OKLCH L 63.3% C 0.159 H 319.8°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#B366C5
RGBrgb(179, 102, 197)
HSLhsl(289, 45%, 59%)
HSVhsv(289, 48%, 77%)
CMYKcmyk(9.1%, 48.2%, 0%, 22.7%)
CIE-LABlab(55.19, 46.03, -37.03)
CIE-LCHlch(55.19, 59.07, 321.19°)
OKLaboklab(63.28% 0.1212 -0.1024)
OKLCHoklch(63.28% 0.159 319.8)
XYZxyz(33.4186, 23.1189, 55.5145)
Luminance0.2312 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B366C5 #78C566
analogous
#8366C5 #B366C5 #C566A7
triadic
#B366C5 #C5B366 #66C5B3
tetradic
#B366C5 #C58366 #78C566 #66A7C5
square
#B366C5 #C58366 #78C566 #66A7C5
split-complementary
#B366C5 #A7C566 #66C583
monochromatic
#713180 #9841AC #B366C5 #C992D6 #DFBFE7

Accessibility & contrast

On white

3.73
#B366C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#B366C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B366C5
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B366C5#FFFFFF#000000##000000
##B366C51.003.735.625.62
#FFFFFF3.731.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#567FC8
Deuteranopia (green-blind)
#6D87C2
Tritanopia (blue-blind)
#B4738C
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b366c5;
/* rgb */ color: rgb(179, 102, 197);
/* oklch */ color: oklch(63.3% 0.159 319.8);
Tailwind
colors: {
  custom: {
    50: '#cc94d7',
    500: '#b366c5',
    950: '#000000',
  },
}
SCSS
$custom: #b366c5;
$custom-light: #cc94d7;
$custom-dark: #000000;
JSON
{
  "hex": "#b366c5",
  "rgb": {
    "r": 179,
    "g": 102,
    "b": 197
  },
  "hsl": {
    "h": 288.632,
    "s": 45.024,
    "l": 58.627
  },
  "oklch": {
    "l": 0.63278,
    "c": 0.15865,
    "h": 319.8
  },
  "luminance": 0.23118
}

Semantic roles & 50–950 ramp

primary
#B366C5
secondary
#B8D6B1
accent
#D5536C
background
#FCF9FD
surface
#F9F2FA
border
#D2CCD3
text
#140D14
muted
#827E83

Preview Lab

Preview with #B366C5

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

Preview Lab → · Contrast checker → · Palette generator →

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