#B237C7#B237C7

#B237C7 is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.6% C 0.227 H 321.4°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#B237C7
RGBrgb(178, 55, 199)
HSLhsl(291, 57%, 50%)
HSVhsv(291, 72%, 78%)
CMYKcmyk(10.6%, 72.4%, 0%, 22%)
CIE-LABlab(47.39, 67.31, -50.55)
CIE-LCHlch(47.39, 84.17, 323.09°)
OKLaboklab(57.6% 0.1771 -0.1414)
OKLCHoklch(57.6% 0.227 321.4)
XYZxyz(30.0339, 16.3225, 55.5903)
Luminance0.1632 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B237C7 #4CC737
analogous
#6A37C7 #B237C7 #C73794
triadic
#B237C7 #C7B237 #37C7B2
tetradic
#B237C7 #C76A37 #4CC737 #3794C7
square
#B237C7 #C76A37 #4CC737 #3794C7
split-complementary
#B237C7 #94C737 #37C76A
monochromatic
#5C1C67 #872A97 #B237C7 #C566D5 #D796E2

Accessibility & contrast

On white

4.92
#B237C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#B237C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B237C7
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B237C7#FFFFFF#000000##FFFFFF
##B237C71.004.924.264.92
#FFFFFF4.921.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CB
Deuteranopia (green-blind)
#4975C4
Tritanopia (blue-blind)
#B4527C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b237c7;
/* rgb */ color: rgb(178, 55, 199);
/* oklch */ color: oklch(57.6% 0.227 321.4);
Tailwind
colors: {
  custom: {
    50: '#cd7ad9',
    500: '#b237c7',
    950: '#000000',
  },
}
SCSS
$custom: #b237c7;
$custom-light: #cd7ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#b237c7",
  "rgb": {
    "r": 178,
    "g": 55,
    "b": 199
  },
  "hsl": {
    "h": 291.25,
    "s": 56.693,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57604,
    "c": 0.22659,
    "h": 321.4
  },
  "luminance": 0.16321
}

Semantic roles & 50–950 ramp

primary
#B237C7
secondary
#96CD8C
accent
#E0485E
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A15
muted
#837C83

Preview Lab

Preview with #B237C7

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

Preview Lab → · Contrast checker → · Palette generator →

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