#9237CD#9237CD

#9237CD is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.8% C 0.221 H 308.3°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#9237CD
RGBrgb(146, 55, 205)
HSLhsl(276, 60%, 51%)
HSVhsv(276, 73%, 80%)
CMYKcmyk(28.8%, 73.2%, 0%, 19.6%)
CIE-LABlab(43.14, 62.16, -61.11)
CIE-LCHlch(43.14, 87.17, 315.49°)
OKLaboklab(53.76% 0.1368 -0.1734)
OKLCHoklch(53.76% 0.221 308.3)
XYZxyz(24.2374, 13.2515, 59.0267)
Luminance0.1325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9237CD #72CD37
analogous
#4737CD #9237CD #CD37BD
triadic
#9237CD #CD9237 #37CD92
tetradic
#9237CD #CD4737 #72CD37 #37BDCD
square
#9237CD #CD4737 #72CD37 #37BDCD
split-complementary
#9237CD #BDCD37 #37CD47
monochromatic
#4E1C6E #70289F #9237CD #AD68D9 #C799E5

Accessibility & contrast

On white

5.75
#9237CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#9237CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9237CD
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9237CD#FFFFFF#000000##FFFFFF
##9237CD1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D1
Deuteranopia (green-blind)
#0067CA
Tritanopia (blue-blind)
#895A7F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9237cd;
/* rgb */ color: rgb(146, 55, 205);
/* oklch */ color: oklch(53.8% 0.221 308.3);
Tailwind
colors: {
  custom: {
    50: '#b776dd',
    500: '#9237cd',
    950: '#000000',
  },
}
SCSS
$custom: #9237cd;
$custom-light: #b776dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9237cd",
  "rgb": {
    "r": 146,
    "g": 55,
    "b": 205
  },
  "hsl": {
    "h": 276.4,
    "s": 60,
    "l": 50.98
  },
  "oklch": {
    "l": 0.53761,
    "c": 0.22085,
    "h": 308.3
  },
  "luminance": 0.13251
}

Semantic roles & 50–950 ramp

primary
#9237CD
secondary
#A9D18F
accent
#E34583
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9237CD

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

Preview Lab → · Contrast checker → · Palette generator →

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