#9237D0#9237D0

#9237D0 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 54.0% C 0.224 H 307.5°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#9237D0
RGBrgb(146, 55, 208)
HSLhsl(276, 62%, 52%)
HSVhsv(276, 74%, 82%)
CMYKcmyk(29.8%, 73.6%, 0%, 18.4%)
CIE-LABlab(43.36, 62.81, -62.49)
CIE-LCHlch(43.36, 88.60, 315.14°)
OKLaboklab(53.98% 0.1362 -0.1775)
OKLCHoklch(53.98% 0.224 307.5)
XYZxyz(24.6030, 13.3978, 60.9522)
Luminance0.1340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9237D0 #75D037
analogous
#4637D0 #9237D0 #D037C2
triadic
#9237D0 #D09237 #37D092
tetradic
#9237D0 #D04637 #75D037 #37C2D0
square
#9237D0 #D04637 #75D037 #37C2D0
split-complementary
#9237D0 #C2D037 #37D046
monochromatic
#4F1B72 #7126A3 #9237D0 #AD69DC #C89AE7

Accessibility & contrast

On white

5.71
#9237D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#9237D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9237D0
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9237D0#FFFFFF#000000##FFFFFF
##9237D01.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D4
Deuteranopia (green-blind)
#0067CD
Tritanopia (blue-blind)
#885C81
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9237d0;
/* rgb */ color: rgb(146, 55, 208);
/* oklch */ color: oklch(54.0% 0.224 307.5);
Tailwind
colors: {
  custom: {
    50: '#b776df',
    500: '#9237d0',
    950: '#000000',
  },
}
SCSS
$custom: #9237d0;
$custom-light: #b776df;
$custom-dark: #000000;
JSON
{
  "hex": "#9237d0",
  "rgb": {
    "r": 146,
    "g": 55,
    "b": 208
  },
  "hsl": {
    "h": 275.686,
    "s": 61.943,
    "l": 51.569
  },
  "oklch": {
    "l": 0.53982,
    "c": 0.22373,
    "h": 307.5
  },
  "luminance": 0.13397
}

Semantic roles & 50–950 ramp

primary
#9237D0
secondary
#ABD390
accent
#E54385
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9237D0

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

Preview Lab → · Contrast checker → · Palette generator →

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