#B237C0#B237C0

#B237C0 is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.2% C 0.221 H 323.5°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#B237C0
RGBrgb(178, 55, 192)
HSLhsl(294, 55%, 48%)
HSVhsv(294, 71%, 75%)
CMYKcmyk(7.3%, 71.4%, 0%, 24.7%)
CIE-LABlab(46.98, 66.06, -47.15)
CIE-LCHlch(46.98, 81.16, 324.49°)
OKLaboklab(57.18% 0.1774 -0.1315)
OKLCHoklch(57.18% 0.221 323.5)
XYZxyz(29.2398, 16.0049, 51.4081)
Luminance0.1600 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B237C0 #45C037
analogous
#6D37C0 #B237C0 #C03789
triadic
#B237C0 #C0B237 #37C0B2
tetradic
#B237C0 #C06D37 #45C037 #3789C0
square
#B237C0 #C06D37 #45C037 #3789C0
split-complementary
#B237C0 #89C037 #37C06D
monochromatic
#5A1C61 #862990 #B237C0 #C762D2 #D892E0

Accessibility & contrast

On white

5.00
#B237C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#B237C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B237C0
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B237C0#FFFFFF#000000##FFFFFF
##B237C01.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C4
Deuteranopia (green-blind)
#4E74BD
Tritanopia (blue-blind)
#B54F78
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b237c0;
/* rgb */ color: rgb(178, 55, 192);
/* oklch */ color: oklch(57.2% 0.221 323.5);
Tailwind
colors: {
  custom: {
    50: '#cd79d4',
    500: '#b237c0',
    950: '#000000',
  },
}
SCSS
$custom: #b237c0;
$custom-light: #cd79d4;
$custom-dark: #000000;
JSON
{
  "hex": "#b237c0",
  "rgb": {
    "r": 178,
    "g": 55,
    "b": 192
  },
  "hsl": {
    "h": 293.869,
    "s": 55.466,
    "l": 48.431
  },
  "oklch": {
    "l": 0.57175,
    "c": 0.22082,
    "h": 323.5
  },
  "luminance": 0.16003
}

Semantic roles & 50–950 ramp

primary
#B237C0
secondary
#8FCB88
accent
#DF4958
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B237C0

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

Preview Lab → · Contrast checker → · Palette generator →

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