#8237C0#8237C0

#8237C0 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.8% C 0.204 H 305.2°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#8237C0
RGBrgb(130, 55, 192)
HSLhsl(273, 55%, 48%)
HSVhsv(273, 71%, 75%)
CMYKcmyk(32.3%, 71.4%, 0%, 24.7%)
CIE-LABlab(40.05, 56.20, -58.65)
CIE-LCHlch(40.05, 81.23, 313.77°)
OKLaboklab(50.82% 0.1174 -0.1667)
OKLCHoklch(50.82% 0.204 305.2)
XYZxyz(20.0844, 11.2841, 50.9789)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8237C0 #75C037
analogous
#3D37C0 #8237C0 #C037B9
triadic
#8237C0 #C08237 #37C082
tetradic
#8237C0 #C03D37 #75C037 #37B9C0
square
#8237C0 #C03D37 #75C037 #37B9C0
split-complementary
#8237C0 #B9C037 #37C03D
monochromatic
#421C61 #622990 #8237C0 #9F62D2 #BC92E0

Accessibility & contrast

On white

6.45
#8237C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#8237C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8237C0
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8237C0#FFFFFF#000000##FFFFFF
##8237C01.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC4
Deuteranopia (green-blind)
#005FBD
Tritanopia (blue-blind)
#775778
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8237c0;
/* rgb */ color: rgb(130, 55, 192);
/* oklch */ color: oklch(50.8% 0.204 305.2);
Tailwind
colors: {
  custom: {
    50: '#ab74d4',
    500: '#8237c0',
    950: '#000000',
  },
}
SCSS
$custom: #8237c0;
$custom-light: #ab74d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8237c0",
  "rgb": {
    "r": 130,
    "g": 55,
    "b": 192
  },
  "hsl": {
    "h": 272.847,
    "s": 55.466,
    "l": 48.431
  },
  "oklch": {
    "l": 0.50822,
    "c": 0.20394,
    "h": 305.2
  },
  "luminance": 0.11284
}

Semantic roles & 50–950 ramp

primary
#8237C0
secondary
#A6CB88
accent
#DF498D
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8237C0

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

Preview Lab → · Contrast checker → · Palette generator →

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