#8237C5#8237C5

#8237C5 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.2% C 0.209 H 303.9°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#8237C5
RGBrgb(130, 55, 197)
HSLhsl(272, 56%, 49%)
HSVhsv(272, 72%, 77%)
CMYKcmyk(34%, 72.1%, 0%, 22.7%)
CIE-LABlab(40.43, 57.36, -60.97)
CIE-LCHlch(40.43, 83.71, 313.25°)
OKLaboklab(51.2% 0.1166 -0.1735)
OKLCHoklch(51.2% 0.209 303.9)
XYZxyz(20.6478, 11.5095, 53.9463)
Luminance0.1151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8237C5 #7AC537
analogous
#3B37C5 #8237C5 #C537C1
triadic
#8237C5 #C58237 #37C582
tetradic
#8237C5 #C53B37 #7AC537 #37C1C5
square
#8237C5 #C53B37 #7AC537 #37C1C5
split-complementary
#8237C5 #C1C537 #37C53B
monochromatic
#431C65 #622A95 #8237C5 #A065D4 #BD95E1

Accessibility & contrast

On white

6.36
#8237C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#8237C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8237C5
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8237C5#FFFFFF#000000##FFFFFF
##8237C51.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC9
Deuteranopia (green-blind)
#005FC2
Tritanopia (blue-blind)
#75597B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8237c5;
/* rgb */ color: rgb(130, 55, 197);
/* oklch */ color: oklch(51.2% 0.209 303.9);
Tailwind
colors: {
  custom: {
    50: '#ac74d7',
    500: '#8237c5',
    950: '#000000',
  },
}
SCSS
$custom: #8237c5;
$custom-light: #ac74d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8237c5",
  "rgb": {
    "r": 130,
    "g": 55,
    "b": 197
  },
  "hsl": {
    "h": 271.69,
    "s": 56.349,
    "l": 49.412
  },
  "oklch": {
    "l": 0.51202,
    "c": 0.20907,
    "h": 303.9
  },
  "luminance": 0.11509
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8237C5

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

Preview Lab → · Contrast checker → · Palette generator →

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