#8237BC#8237BC

#8237BC is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.5% C 0.200 H 306.2°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#8237BC
RGBrgb(130, 55, 188)
HSLhsl(274, 55%, 48%)
HSVhsv(274, 71%, 74%)
CMYKcmyk(30.9%, 70.7%, 0%, 26.3%)
CIE-LABlab(39.76, 55.27, -56.78)
CIE-LCHlch(39.76, 79.24, 314.23°)
OKLaboklab(50.52% 0.1181 -0.1612)
OKLCHoklch(50.52% 0.2 306.2)
XYZxyz(19.6472, 11.1092, 48.6765)
Luminance0.1111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8237BC #71BC37
analogous
#4037BC #8237BC #BC37B3
triadic
#8237BC #BC8237 #37BC82
tetradic
#8237BC #BC4037 #71BC37 #37B3BC
square
#8237BC #BC4037 #71BC37 #37B3BC
split-complementary
#8237BC #B3BC37 #37BC40
monochromatic
#411B5D #61298D #8237BC #9F60D0 #BC8FDE

Accessibility & contrast

On white

6.52
#8237BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#8237BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8237BC
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8237BC#FFFFFF#000000##FFFFFF
##8237BC1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC0
Deuteranopia (green-blind)
#015EB9
Tritanopia (blue-blind)
#785676
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8237bc;
/* rgb */ color: rgb(130, 55, 188);
/* oklch */ color: oklch(50.5% 0.200 306.2);
Tailwind
colors: {
  custom: {
    50: '#ab74d1',
    500: '#8237bc',
    950: '#000000',
  },
}
SCSS
$custom: #8237bc;
$custom-light: #ab74d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8237bc",
  "rgb": {
    "r": 130,
    "g": 55,
    "b": 188
  },
  "hsl": {
    "h": 273.835,
    "s": 54.733,
    "l": 47.647
  },
  "oklch": {
    "l": 0.50524,
    "c": 0.19984,
    "h": 306.2
  },
  "luminance": 0.11109
}

Semantic roles & 50–950 ramp

primary
#8237BC
secondary
#A3C986
accent
#DE4A8A
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8237BC

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

Preview Lab → · Contrast checker → · Palette generator →

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