#8237C2#8237C2

#8237C2 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.0% C 0.206 H 304.6°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#8237C2
RGBrgb(130, 55, 194)
HSLhsl(272, 56%, 49%)
HSVhsv(272, 72%, 76%)
CMYKcmyk(33%, 71.6%, 0%, 23.9%)
CIE-LABlab(40.20, 56.66, -59.58)
CIE-LCHlch(40.20, 82.22, 313.56°)
OKLaboklab(50.97% 0.1171 -0.1695)
OKLCHoklch(50.97% 0.206 304.6)
XYZxyz(20.3075, 11.3733, 52.1539)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8237C2 #77C237
analogous
#3D37C2 #8237C2 #C237BD
triadic
#8237C2 #C28237 #37C282
tetradic
#8237C2 #C23D37 #77C237 #37BDC2
square
#8237C2 #C23D37 #77C237 #37BDC2
split-complementary
#8237C2 #BDC237 #37C23D
monochromatic
#421C63 #622992 #8237C2 #A063D3 #BD93E0

Accessibility & contrast

On white

6.41
#8237C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#8237C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8237C2
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8237C2#FFFFFF#000000##FFFFFF
##8237C21.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC6
Deuteranopia (green-blind)
#005FBF
Tritanopia (blue-blind)
#765879
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8237c2;
/* rgb */ color: rgb(130, 55, 194);
/* oklch */ color: oklch(51.0% 0.206 304.6);
Tailwind
colors: {
  custom: {
    50: '#ac74d5',
    500: '#8237c2',
    950: '#000000',
  },
}
SCSS
$custom: #8237c2;
$custom-light: #ac74d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8237c2",
  "rgb": {
    "r": 130,
    "g": 55,
    "b": 194
  },
  "hsl": {
    "h": 272.374,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50973,
    "c": 0.20599,
    "h": 304.6
  },
  "luminance": 0.11373
}

Semantic roles & 50–950 ramp

primary
#8237C2
secondary
#A8CB89
accent
#DF498E
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8237C2

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

Preview Lab → · Contrast checker → · Palette generator →

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