#B237C6#B237C6

#B237C6 is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.5% C 0.226 H 321.7°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#B237C6
RGBrgb(178, 55, 198)
HSLhsl(292, 57%, 50%)
HSVhsv(292, 72%, 78%)
CMYKcmyk(10.1%, 72.2%, 0%, 22.4%)
CIE-LABlab(47.33, 67.13, -50.06)
CIE-LCHlch(47.33, 83.74, 323.28°)
OKLaboklab(57.54% 0.1771 -0.14)
OKLCHoklch(57.54% 0.226 321.7)
XYZxyz(29.9182, 16.2762, 54.9809)
Luminance0.1628 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B237C6 #4BC637
analogous
#6A37C6 #B237C6 #C63793
triadic
#B237C6 #C6B237 #37C6B2
tetradic
#B237C6 #C66A37 #4BC637 #3793C6
square
#B237C6 #C66A37 #4BC637 #3793C6
split-complementary
#B237C6 #93C637 #37C66A
monochromatic
#5C1C66 #872A96 #B237C6 #C566D4 #D796E2

Accessibility & contrast

On white

4.94
#B237C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B237C6
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B237C6#FFFFFF#000000##FFFFFF
##B237C61.004.944.264.94
#FFFFFF4.941.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CA
Deuteranopia (green-blind)
#4A75C3
Tritanopia (blue-blind)
#B4527C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b237c6;
/* rgb */ color: rgb(178, 55, 198);
/* oklch */ color: oklch(57.5% 0.226 321.7);
Tailwind
colors: {
  custom: {
    50: '#cd7ad8',
    500: '#b237c6',
    950: '#000000',
  },
}
SCSS
$custom: #b237c6;
$custom-light: #cd7ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#b237c6",
  "rgb": {
    "r": 178,
    "g": 55,
    "b": 198
  },
  "hsl": {
    "h": 291.608,
    "s": 56.522,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57542,
    "c": 0.22576,
    "h": 321.7
  },
  "luminance": 0.16275
}

Semantic roles & 50–950 ramp

primary
#B237C6
secondary
#95CD8C
accent
#E0485D
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B237C6

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

Preview Lab → · Contrast checker → · Palette generator →

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