#B237DA#B237DA

#B237DA is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.8% C 0.243 H 316.2°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#B237DA
RGBrgb(178, 55, 218)
HSLhsl(285, 69%, 54%)
HSVhsv(285, 75%, 85%)
CMYKcmyk(18.3%, 74.8%, 0%, 14.5%)
CIE-LABlab(48.59, 70.81, -59.55)
CIE-LCHlch(48.59, 92.52, 319.94°)
OKLaboklab(58.83% 0.1752 -0.1678)
OKLCHoklch(58.83% 0.243 316.2)
XYZxyz(32.3792, 17.2606, 67.9421)
Luminance0.1726 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B237DA #5FDA37
analogous
#6037DA #B237DA #DA37B0
triadic
#B237DA #DAB237 #37DAB2
tetradic
#B237DA #DA6037 #5FDA37 #37B0DA
square
#B237DA #DA6037 #5FDA37 #37B0DA
split-complementary
#B237DA #B0DA37 #37DA60
monochromatic
#66187F #8F21B3 #B237DA #C66BE4 #DA9EED

Accessibility & contrast

On white

4.72
#B237DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#B237DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B237DA
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B237DA#FFFFFF#000000##FFFFFF
##B237DA1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDE
Deuteranopia (green-blind)
#3677D6
Tritanopia (blue-blind)
#AF5B87
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b237da;
/* rgb */ color: rgb(178, 55, 218);
/* oklch */ color: oklch(58.8% 0.243 316.2);
Tailwind
colors: {
  custom: {
    50: '#ce7ae6',
    500: '#b237da',
    950: '#000000',
  },
}
SCSS
$custom: #b237da;
$custom-light: #ce7ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#b237da",
  "rgb": {
    "r": 178,
    "g": 55,
    "b": 218
  },
  "hsl": {
    "h": 285.276,
    "s": 68.776,
    "l": 53.529
  },
  "oklch": {
    "l": 0.5883,
    "c": 0.24255,
    "h": 316.2
  },
  "luminance": 0.17259
}

Semantic roles & 50–950 ramp

primary
#B237DA
secondary
#A5D993
accent
#EC3C67
background
#FDF7FE
surface
#FAEEFC
border
#D3C9D5
text
#140A16
muted
#837C84

Preview Lab

Preview with #B237DA

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

Preview Lab → · Contrast checker → · Palette generator →

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