#B336DD#B336DD

#B336DD is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 59.1% C 0.246 H 315.8°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#B336DD
RGBrgb(179, 54, 221)
HSLhsl(285, 71%, 54%)
HSVhsv(285, 76%, 87%)
CMYKcmyk(19%, 75.6%, 0%, 13.3%)
CIE-LABlab(48.81, 71.90, -60.88)
CIE-LCHlch(48.81, 94.22, 319.74°)
OKLaboklab(59.08% 0.1768 -0.1717)
OKLCHoklch(59.08% 0.246 315.8)
XYZxyz(32.9587, 17.4438, 70.0235)
Luminance0.1744 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B336DD #60DD36
analogous
#6036DD #B336DD #DD36B4
triadic
#B336DD #DDB336 #36DDB3
tetradic
#B336DD #DD6036 #60DD36 #36B4DD
square
#B336DD #DD6036 #60DD36 #36B4DD
split-complementary
#B336DD #B4DD36 #36DD60
monochromatic
#671683 #911FB7 #B336DD #C76AE6 #DB9FEF

Accessibility & contrast

On white

4.68
#B336DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#B336DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B336DD
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B336DD#FFFFFF#000000##FFFFFF
##B336DD1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE2
Deuteranopia (green-blind)
#3377D9
Tritanopia (blue-blind)
#B05B88
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b336dd;
/* rgb */ color: rgb(179, 54, 221);
/* oklch */ color: oklch(59.1% 0.246 315.8);
Tailwind
colors: {
  custom: {
    50: '#ce7ae8',
    500: '#b336dd',
    950: '#000000',
  },
}
SCSS
$custom: #b336dd;
$custom-light: #ce7ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#b336dd",
  "rgb": {
    "r": 179,
    "g": 54,
    "b": 221
  },
  "hsl": {
    "h": 284.91,
    "s": 71.064,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59083,
    "c": 0.24643,
    "h": 315.8
  },
  "luminance": 0.17442
}

Semantic roles & 50–950 ramp

primary
#B336DD
secondary
#A6DB94
accent
#EE3A67
background
#FDF7FE
surface
#FAEEFD
border
#D3C9D5
text
#140A16
muted
#837C84

Preview Lab

Preview with #B336DD

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

Preview Lab → · Contrast checker → · Palette generator →

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