#8237CB#8237CB

#8237CB is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.7% C 0.215 H 302.4°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#8237CB
RGBrgb(130, 55, 203)
HSLhsl(270, 59%, 51%)
HSVhsv(270, 73%, 80%)
CMYKcmyk(36%, 72.9%, 0%, 20.4%)
CIE-LABlab(40.88, 58.76, -63.72)
CIE-LCHlch(40.88, 86.68, 312.68°)
OKLaboklab(51.67% 0.1154 -0.1816)
OKLCHoklch(51.67% 0.215 302.4)
XYZxyz(21.3490, 11.7900, 57.6393)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8237CB #80CB37
analogous
#3837CB #8237CB #CB37CA
triadic
#8237CB #CB8237 #37CB82
tetradic
#8237CB #CB3837 #80CB37 #37CACB
square
#8237CB #CB3837 #80CB37 #37CACB
split-complementary
#8237CB #CACB37 #37CB38
monochromatic
#441C6C #63299C #8237CB #A068D8 #BF98E4

Accessibility & contrast

On white

6.25
#8237CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#8237CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8237CB
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8237CB#FFFFFF#000000##FFFFFF
##8237CB1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCF
Deuteranopia (green-blind)
#0060C8
Tritanopia (blue-blind)
#735C7E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8237cb;
/* rgb */ color: rgb(130, 55, 203);
/* oklch */ color: oklch(51.7% 0.215 302.4);
Tailwind
colors: {
  custom: {
    50: '#ac75dc',
    500: '#8237cb',
    950: '#000000',
  },
}
SCSS
$custom: #8237cb;
$custom-light: #ac75dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8237cb",
  "rgb": {
    "r": 130,
    "g": 55,
    "b": 203
  },
  "hsl": {
    "h": 270.405,
    "s": 58.73,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51666,
    "c": 0.2152,
    "h": 302.4
  },
  "luminance": 0.1179
}

Semantic roles & 50–950 ramp

primary
#8237CB
secondary
#AED08E
accent
#E24693
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8237CB

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

Preview Lab → · Contrast checker → · Palette generator →

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