#8237C6#8237C6

#8237C6 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.3% C 0.210 H 303.6°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#8237C6
RGBrgb(130, 55, 198)
HSLhsl(271, 57%, 50%)
HSVhsv(271, 72%, 78%)
CMYKcmyk(34.3%, 72.2%, 0%, 22.4%)
CIE-LABlab(40.50, 57.59, -61.43)
CIE-LCHlch(40.50, 84.21, 313.15°)
OKLaboklab(51.28% 0.1164 -0.1749)
OKLCHoklch(51.28% 0.21 303.6)
XYZxyz(20.7628, 11.5555, 54.5517)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8237C6 #7BC637
analogous
#3B37C6 #8237C6 #C637C2
triadic
#8237C6 #C68237 #37C682
tetradic
#8237C6 #C63B37 #7BC637 #37C2C6
square
#8237C6 #C63B37 #7BC637 #37C2C6
split-complementary
#8237C6 #C2C637 #37C63B
monochromatic
#431C66 #632A96 #8237C6 #A066D4 #BE96E2

Accessibility & contrast

On white

6.34
#8237C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#8237C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8237C6
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8237C6#FFFFFF#000000##FFFFFF
##8237C61.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECA
Deuteranopia (green-blind)
#005FC3
Tritanopia (blue-blind)
#755A7B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8237c6;
/* rgb */ color: rgb(130, 55, 198);
/* oklch */ color: oklch(51.3% 0.210 303.6);
Tailwind
colors: {
  custom: {
    50: '#ac74d8',
    500: '#8237c6',
    950: '#000000',
  },
}
SCSS
$custom: #8237c6;
$custom-light: #ac74d8;
$custom-dark: #000000;
JSON
{
  "hex": "#8237c6",
  "rgb": {
    "r": 130,
    "g": 55,
    "b": 198
  },
  "hsl": {
    "h": 271.469,
    "s": 56.522,
    "l": 49.608
  },
  "oklch": {
    "l": 0.51279,
    "c": 0.21009,
    "h": 303.6
  },
  "luminance": 0.11555
}

Semantic roles & 50–950 ramp

primary
#8237C6
secondary
#ABCD8C
accent
#E04890
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110915
muted
#807B83

Preview Lab

Preview with #8237C6

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

Preview Lab → · Contrast checker → · Palette generator →

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