#8237C8#8237C8

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

Color values

HEX#8237C8
RGBrgb(130, 55, 200)
HSLhsl(271, 57%, 50%)
HSVhsv(271, 73%, 78%)
CMYKcmyk(35%, 72.5%, 0%, 21.6%)
CIE-LABlab(40.65, 58.06, -62.35)
CIE-LCHlch(40.65, 85.20, 312.96°)
OKLaboklab(51.43% 0.116 -0.1776)
OKLCHoklch(51.43% 0.212 303.2)
XYZxyz(20.9950, 11.6483, 55.7747)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8237C8 #7DC837
analogous
#3937C8 #8237C8 #C837C6
triadic
#8237C8 #C88237 #37C882
tetradic
#8237C8 #C83937 #7DC837 #37C6C8
square
#8237C8 #C83937 #7DC837 #37C6C8
split-complementary
#8237C8 #C6C837 #37C839
monochromatic
#441D68 #632A98 #8237C8 #A067D5 #BE97E2

Accessibility & contrast

On white

6.31
#8237C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#8237C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8237C8
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8237C8#FFFFFF#000000##FFFFFF
##8237C81.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8237c8;
/* rgb */ color: rgb(130, 55, 200);
/* oklch */ color: oklch(51.4% 0.212 303.2);
Tailwind
colors: {
  custom: {
    50: '#ac75da',
    500: '#8237c8',
    950: '#000000',
  },
}
SCSS
$custom: #8237c8;
$custom-light: #ac75da;
$custom-dark: #000000;
JSON
{
  "hex": "#8237c8",
  "rgb": {
    "r": 130,
    "g": 55,
    "b": 200
  },
  "hsl": {
    "h": 271.034,
    "s": 56.863,
    "l": 50
  },
  "oklch": {
    "l": 0.51433,
    "c": 0.21214,
    "h": 303.2
  },
  "luminance": 0.11648
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8237C8

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

Preview Lab → · Contrast checker → · Palette generator →

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