#9237CB#9237CB

#9237CB is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.6% C 0.219 H 308.8°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#9237CB
RGBrgb(146, 55, 203)
HSLhsl(277, 59%, 51%)
HSVhsv(277, 73%, 80%)
CMYKcmyk(28.1%, 72.9%, 0%, 20.4%)
CIE-LABlab(43.00, 61.72, -60.19)
CIE-LCHlch(43.00, 86.21, 315.72°)
OKLaboklab(53.61% 0.1371 -0.1707)
OKLCHoklch(53.61% 0.219 308.8)
XYZxyz(23.9975, 13.1556, 57.7634)
Luminance0.1316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9237CB #70CB37
analogous
#4837CB #9237CB #CB37BA
triadic
#9237CB #CB9237 #37CB92
tetradic
#9237CB #CB4837 #70CB37 #37BACB
square
#9237CB #CB4837 #70CB37 #37BACB
split-complementary
#9237CB #BACB37 #37CB48
monochromatic
#4D1C6C #70299C #9237CB #AC68D8 #C798E4

Accessibility & contrast

On white

5.78
#9237CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#9237CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9237CB
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9237CB#FFFFFF#000000##FFFFFF
##9237CB1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CF
Deuteranopia (green-blind)
#0867C8
Tritanopia (blue-blind)
#895A7E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9237cb;
/* rgb */ color: rgb(146, 55, 203);
/* oklch */ color: oklch(53.6% 0.219 308.8);
Tailwind
colors: {
  custom: {
    50: '#b776dc',
    500: '#9237cb',
    950: '#000000',
  },
}
SCSS
$custom: #9237cb;
$custom-light: #b776dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9237cb",
  "rgb": {
    "r": 146,
    "g": 55,
    "b": 203
  },
  "hsl": {
    "h": 276.892,
    "s": 58.73,
    "l": 50.588
  },
  "oklch": {
    "l": 0.53614,
    "c": 0.21893,
    "h": 308.8
  },
  "luminance": 0.13155
}

Semantic roles & 50–950 ramp

primary
#9237CB
secondary
#A7D08E
accent
#E24682
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9237CB

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

Preview Lab → · Contrast checker → · Palette generator →

#9237CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva