#B336CD#B336CD

#B336CD is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 58.0% C 0.233 H 320.1°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#B336CD
RGBrgb(179, 54, 205)
HSLhsl(290, 60%, 51%)
HSVhsv(290, 74%, 80%)
CMYKcmyk(12.7%, 73.7%, 0%, 19.6%)
CIE-LABlab(47.79, 68.94, -53.37)
CIE-LCHlch(47.79, 87.18, 322.26°)
OKLaboklab(58.03% 0.1787 -0.1496)
OKLCHoklch(58.03% 0.233 320.1)
XYZxyz(30.9277, 16.6314, 59.3269)
Luminance0.1663 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B336CD #50CD36
analogous
#6736CD #B336CD #CD369B
triadic
#B336CD #CDB336 #36CDB3
tetradic
#B336CD #CD6736 #50CD36 #369BCD
square
#B336CD #CD6736 #50CD36 #369BCD
split-complementary
#B336CD #9BCD36 #36CD67
monochromatic
#5F1B6D #8A279E #B336CD #C667D9 #D898E5

Accessibility & contrast

On white

4.85
#B336CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#B336CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B336CD
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B336CD#FFFFFF#000000##FFFFFF
##B336CD1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D1
Deuteranopia (green-blind)
#4476CA
Tritanopia (blue-blind)
#B4547F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b336cd;
/* rgb */ color: rgb(179, 54, 205);
/* oklch */ color: oklch(58.0% 0.233 320.1);
Tailwind
colors: {
  custom: {
    50: '#ce7add',
    500: '#b336cd',
    950: '#000000',
  },
}
SCSS
$custom: #b336cd;
$custom-light: #ce7add;
$custom-dark: #000000;
JSON
{
  "hex": "#b336cd",
  "rgb": {
    "r": 179,
    "g": 54,
    "b": 205
  },
  "hsl": {
    "h": 289.669,
    "s": 60.159,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58034,
    "c": 0.23304,
    "h": 320.1
  },
  "luminance": 0.1663
}

Semantic roles & 50–950 ramp

primary
#B336CD
secondary
#99D18E
accent
#E34460
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B336CD

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

Preview Lab → · Contrast checker → · Palette generator →

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