#8237C9#8237C9

#8237C9 is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.5% C 0.213 H 302.9°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#8237C9
RGBrgb(130, 55, 201)
HSLhsl(271, 57%, 50%)
HSVhsv(271, 73%, 79%)
CMYKcmyk(35.3%, 72.6%, 0%, 21.2%)
CIE-LABlab(40.73, 58.29, -62.81)
CIE-LCHlch(40.73, 85.69, 312.87°)
OKLaboklab(51.51% 0.1158 -0.1789)
OKLCHoklch(51.51% 0.213 302.9)
XYZxyz(21.1122, 11.6952, 56.3922)
Luminance0.1169 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8237C9 #7EC937
analogous
#3937C9 #8237C9 #C937C7
triadic
#8237C9 #C98237 #37C982
tetradic
#8237C9 #C93937 #7EC937 #37C7C9
square
#8237C9 #C93937 #7EC937 #37C7C9
split-complementary
#8237C9 #C7C937 #37C939
monochromatic
#441C69 #632999 #8237C9 #A067D6 #BE97E3

Accessibility & contrast

On white

6.29
#8237C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#8237C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8237C9
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8237C9#FFFFFF#000000##FFFFFF
##8237C91.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCD
Deuteranopia (green-blind)
#0060C6
Tritanopia (blue-blind)
#735B7D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8237c9;
/* rgb */ color: rgb(130, 55, 201);
/* oklch */ color: oklch(51.5% 0.213 302.9);
Tailwind
colors: {
  custom: {
    50: '#ac75da',
    500: '#8237c9',
    950: '#000000',
  },
}
SCSS
$custom: #8237c9;
$custom-light: #ac75da;
$custom-dark: #000000;
JSON
{
  "hex": "#8237c9",
  "rgb": {
    "r": 130,
    "g": 55,
    "b": 201
  },
  "hsl": {
    "h": 270.822,
    "s": 57.48,
    "l": 50.196
  },
  "oklch": {
    "l": 0.5151,
    "c": 0.21316,
    "h": 302.9
  },
  "luminance": 0.11695
}

Semantic roles & 50–950 ramp

primary
#8237C9
secondary
#ADCF8D
accent
#E14792
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8237C9

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

Preview Lab → · Contrast checker → · Palette generator →

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