#B237B5#B237B5

#B237B5 is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.5% C 0.212 H 326.9°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#B237B5
RGBrgb(178, 55, 181)
HSLhsl(299, 53%, 46%)
HSVhsv(299, 70%, 71%)
CMYKcmyk(1.7%, 69.6%, 0%, 29%)
CIE-LABlab(46.36, 64.17, -41.71)
CIE-LCHlch(46.36, 76.53, 326.97°)
OKLaboklab(56.53% 0.1776 -0.1156)
OKLCHoklch(56.53% 0.212 326.9)
XYZxyz(28.0663, 15.5355, 45.2275)
Luminance0.1553 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B237B5 #3AB537
analogous
#7337B5 #B237B5 #B53779
triadic
#B237B5 #B5B237 #37B5B2
tetradic
#B237B5 #B57337 #3AB537 #3779B5
square
#B237B5 #B57337 #3AB537 #3779B5
split-complementary
#B237B5 #79B537 #37B573
monochromatic
#561A57 #842986 #B237B5 #CB5CCD #DA8BDC

Accessibility & contrast

On white

5.11
#B237B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#B237B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B237B5
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B237B5#FFFFFF#000000##FFFFFF
##B237B51.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F64B9
Deuteranopia (green-blind)
#5573B2
Tritanopia (blue-blind)
#B74A72
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b237b5;
/* rgb */ color: rgb(178, 55, 181);
/* oklch */ color: oklch(56.5% 0.212 326.9);
Tailwind
colors: {
  custom: {
    50: '#cd79cc',
    500: '#b237b5',
    950: '#000000',
  },
}
SCSS
$custom: #b237b5;
$custom-light: #cd79cc;
$custom-dark: #000000;
JSON
{
  "hex": "#b237b5",
  "rgb": {
    "r": 178,
    "g": 55,
    "b": 181
  },
  "hsl": {
    "h": 298.571,
    "s": 53.39,
    "l": 46.275
  },
  "oklch": {
    "l": 0.5653,
    "c": 0.2119,
    "h": 326.9
  },
  "luminance": 0.15534
}

Semantic roles & 50–950 ramp

primary
#B237B5
secondary
#83C682
accent
#DD4B4E
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B237B5

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

Preview Lab → · Contrast checker → · Palette generator →

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