#8237C7#8237C7

#8237C7 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.4% C 0.211 H 303.4°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#8237C7
RGBrgb(130, 55, 199)
HSLhsl(271, 57%, 50%)
HSVhsv(271, 72%, 78%)
CMYKcmyk(34.7%, 72.4%, 0%, 22%)
CIE-LABlab(40.58, 57.83, -61.89)
CIE-LCHlch(40.58, 84.70, 313.05°)
OKLaboklab(51.36% 0.1162 -0.1762)
OKLCHoklch(51.36% 0.211 303.4)
XYZxyz(20.8785, 11.6017, 55.1612)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8237C7 #7CC737
analogous
#3A37C7 #8237C7 #C737C4
triadic
#8237C7 #C78237 #37C782
tetradic
#8237C7 #C73A37 #7CC737 #37C4C7
square
#8237C7 #C73A37 #7CC737 #37C4C7
split-complementary
#8237C7 #C4C737 #37C73A
monochromatic
#431C67 #632A97 #8237C7 #A066D5 #BE96E2

Accessibility & contrast

On white

6.32
#8237C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#8237C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8237C7
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8237C7#FFFFFF#000000##FFFFFF
##8237C71.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECB
Deuteranopia (green-blind)
#005FC4
Tritanopia (blue-blind)
#745A7C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8237c7;
/* rgb */ color: rgb(130, 55, 199);
/* oklch */ color: oklch(51.4% 0.211 303.4);
Tailwind
colors: {
  custom: {
    50: '#ac75d9',
    500: '#8237c7',
    950: '#000000',
  },
}
SCSS
$custom: #8237c7;
$custom-light: #ac75d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8237c7",
  "rgb": {
    "r": 130,
    "g": 55,
    "b": 199
  },
  "hsl": {
    "h": 271.25,
    "s": 56.693,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51356,
    "c": 0.21111,
    "h": 303.4
  },
  "luminance": 0.11602
}

Semantic roles & 50–950 ramp

primary
#8237C7
secondary
#ACCD8C
accent
#E04891
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8237C7

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

Preview Lab → · Contrast checker → · Palette generator →

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