#9137CB#9137CB

#9137CB is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.5% C 0.219 H 308.4°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#9137CB
RGBrgb(145, 55, 203)
HSLhsl(276, 59%, 51%)
HSVhsv(276, 73%, 80%)
CMYKcmyk(28.6%, 72.9%, 0%, 20.4%)
CIE-LABlab(42.86, 61.53, -60.41)
CIE-LCHlch(42.86, 86.23, 315.53°)
OKLaboklab(53.49% 0.1358 -0.1714)
OKLCHoklch(53.49% 0.219 308.4)
XYZxyz(23.8205, 13.0643, 57.7551)
Luminance0.1306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9137CB #71CB37
analogous
#4737CB #9137CB #CB37BB
triadic
#9137CB #CB9137 #37CB91
tetradic
#9137CB #CB4737 #71CB37 #37BBCB
square
#9137CB #CB4737 #71CB37 #37BBCB
split-complementary
#9137CB #BBCB37 #37CB47
monochromatic
#4C1C6C #6F299C #9137CB #AC68D8 #C698E4

Accessibility & contrast

On white

5.81
#9137CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#9137CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9137CB
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9137CB#FFFFFF#000000##FFFFFF
##9137CB1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CF
Deuteranopia (green-blind)
#0266C8
Tritanopia (blue-blind)
#885A7E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9137cb;
/* rgb */ color: rgb(145, 55, 203);
/* oklch */ color: oklch(53.5% 0.219 308.4);
Tailwind
colors: {
  custom: {
    50: '#b676dc',
    500: '#9137cb',
    950: '#000000',
  },
}
SCSS
$custom: #9137cb;
$custom-light: #b676dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9137cb",
  "rgb": {
    "r": 145,
    "g": 55,
    "b": 203
  },
  "hsl": {
    "h": 276.486,
    "s": 58.73,
    "l": 50.588
  },
  "oklch": {
    "l": 0.53489,
    "c": 0.21866,
    "h": 308.4
  },
  "luminance": 0.13064
}

Semantic roles & 50–950 ramp

primary
#9137CB
secondary
#A8D08E
accent
#E24683
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9137CB

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

Preview Lab → · Contrast checker → · Palette generator →

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