#B237C2#B237C2

#B237C2 is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.3% C 0.222 H 322.9°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#B237C2
RGBrgb(178, 55, 194)
HSLhsl(293, 56%, 49%)
HSVhsv(293, 72%, 76%)
CMYKcmyk(8.2%, 71.6%, 0%, 23.9%)
CIE-LABlab(47.10, 66.42, -48.12)
CIE-LCHlch(47.10, 82.02, 324.07°)
OKLaboklab(57.3% 0.1773 -0.1343)
OKLCHoklch(57.3% 0.222 322.9)
XYZxyz(29.4629, 16.0941, 52.5831)
Luminance0.1609 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B237C2 #47C237
analogous
#6D37C2 #B237C2 #C2378D
triadic
#B237C2 #C2B237 #37C2B2
tetradic
#B237C2 #C26D37 #47C237 #378DC2
square
#B237C2 #C26D37 #47C237 #378DC2
split-complementary
#B237C2 #8DC237 #37C26D
monochromatic
#5B1C63 #862992 #B237C2 #C663D3 #D793E0

Accessibility & contrast

On white

4.98
#B237C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#B237C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B237C2
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B237C2#FFFFFF#000000##FFFFFF
##B237C21.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C6
Deuteranopia (green-blind)
#4D74BF
Tritanopia (blue-blind)
#B55079
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b237c2;
/* rgb */ color: rgb(178, 55, 194);
/* oklch */ color: oklch(57.3% 0.222 322.9);
Tailwind
colors: {
  custom: {
    50: '#cd79d5',
    500: '#b237c2',
    950: '#000000',
  },
}
SCSS
$custom: #b237c2;
$custom-light: #cd79d5;
$custom-dark: #000000;
JSON
{
  "hex": "#b237c2",
  "rgb": {
    "r": 178,
    "g": 55,
    "b": 194
  },
  "hsl": {
    "h": 293.094,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57296,
    "c": 0.22246,
    "h": 322.9
  },
  "luminance": 0.16092
}

Semantic roles & 50–950 ramp

primary
#B237C2
secondary
#91CB89
accent
#DF495A
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B237C2

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

Preview Lab → · Contrast checker → · Palette generator →

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