#B237C3#B237C3

#B237C3 is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.4% C 0.223 H 322.6°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#B237C3
RGBrgb(178, 55, 195)
HSLhsl(293, 56%, 49%)
HSVhsv(293, 72%, 76%)
CMYKcmyk(8.7%, 71.8%, 0%, 23.5%)
CIE-LABlab(47.16, 66.59, -48.61)
CIE-LCHlch(47.16, 82.45, 323.87°)
OKLaboklab(57.36% 0.1773 -0.1357)
OKLCHoklch(57.36% 0.223 322.6)
XYZxyz(29.5756, 16.1392, 53.1765)
Luminance0.1614 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B237C3 #48C337
analogous
#6C37C3 #B237C3 #C3378E
triadic
#B237C3 #C3B237 #37C3B2
tetradic
#B237C3 #C36C37 #48C337 #378EC3
square
#B237C3 #C36C37 #48C337 #378EC3
split-complementary
#B237C3 #8EC337 #37C36C
monochromatic
#5B1C64 #862A93 #B237C3 #C664D3 #D794E1

Accessibility & contrast

On white

4.97
#B237C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#B237C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B237C3
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B237C3#FFFFFF#000000##FFFFFF
##B237C31.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C7
Deuteranopia (green-blind)
#4C74C0
Tritanopia (blue-blind)
#B4507A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b237c3;
/* rgb */ color: rgb(178, 55, 195);
/* oklch */ color: oklch(57.4% 0.223 322.6);
Tailwind
colors: {
  custom: {
    50: '#cd7ad6',
    500: '#b237c3',
    950: '#000000',
  },
}
SCSS
$custom: #b237c3;
$custom-light: #cd7ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#b237c3",
  "rgb": {
    "r": 178,
    "g": 55,
    "b": 195
  },
  "hsl": {
    "h": 292.714,
    "s": 56,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57357,
    "c": 0.22329,
    "h": 322.6
  },
  "luminance": 0.16137
}

Semantic roles & 50–950 ramp

primary
#B237C3
secondary
#92CC8A
accent
#DF495B
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B237C3

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

Preview Lab → · Contrast checker → · Palette generator →

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