#B236DD#B236DD

#B236DD is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.9% C 0.246 H 315.5°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#B236DD
RGBrgb(178, 54, 221)
HSLhsl(285, 71%, 54%)
HSVhsv(285, 76%, 87%)
CMYKcmyk(19.5%, 75.6%, 0%, 13.3%)
CIE-LABlab(48.67, 71.72, -61.13)
CIE-LCHlch(48.67, 94.24, 319.56°)
OKLaboklab(58.95% 0.1756 -0.1724)
OKLCHoklch(58.95% 0.246 315.5)
XYZxyz(32.7283, 17.3250, 70.0127)
Luminance0.1732 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B236DD #61DD36
analogous
#5F36DD #B236DD #DD36B5
triadic
#B236DD #DDB236 #36DDB2
tetradic
#B236DD #DD5F36 #61DD36 #36B5DD
square
#B236DD #DD5F36 #61DD36 #36B5DD
split-complementary
#B236DD #B5DD36 #36DD5F
monochromatic
#671683 #901FB7 #B236DD #C66AE6 #DA9FEF

Accessibility & contrast

On white

4.70
#B236DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#B236DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B236DD
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B236DD#FFFFFF#000000##FFFFFF
##B236DD1.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b236dd;
/* rgb */ color: rgb(178, 54, 221);
/* oklch */ color: oklch(58.9% 0.246 315.5);
Tailwind
colors: {
  custom: {
    50: '#ce7ae8',
    500: '#b236dd',
    950: '#000000',
  },
}
SCSS
$custom: #b236dd;
$custom-light: #ce7ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#b236dd",
  "rgb": {
    "r": 178,
    "g": 54,
    "b": 221
  },
  "hsl": {
    "h": 284.551,
    "s": 71.064,
    "l": 53.922
  },
  "oklch": {
    "l": 0.58949,
    "c": 0.24609,
    "h": 315.5
  },
  "luminance": 0.17324
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B236DD

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

Preview Lab → · Contrast checker → · Palette generator →

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