#8237B8#8237B8

#8237B8 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 50.2% C 0.196 H 307.3°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#8237B8
RGBrgb(130, 55, 184)
HSLhsl(275, 54%, 47%)
HSVhsv(275, 70%, 72%)
CMYKcmyk(29.3%, 70.1%, 0%, 27.8%)
CIE-LABlab(39.48, 54.36, -54.89)
CIE-LCHlch(39.48, 77.25, 314.72°)
OKLaboklab(50.23% 0.1186 -0.1557)
OKLCHoklch(50.23% 0.196 307.3)
XYZxyz(19.2220, 10.9391, 46.4369)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8237B8 #6DB837
analogous
#4237B8 #8237B8 #B837AE
triadic
#8237B8 #B88237 #37B882
tetradic
#8237B8 #B84237 #6DB837 #37AEB8
square
#8237B8 #B84237 #6DB837 #37AEB8
split-complementary
#8237B8 #AEB837 #37B842
monochromatic
#3F1B5A #612989 #8237B8 #9F5DCF #BB8DDD

Accessibility & contrast

On white

6.59
#8237B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#8237B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8237B8
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8237B8#FFFFFF#000000##FFFFFF
##8237B81.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABC
Deuteranopia (green-blind)
#115EB5
Tritanopia (blue-blind)
#795474
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8237b8;
/* rgb */ color: rgb(130, 55, 184);
/* oklch */ color: oklch(50.2% 0.196 307.3);
Tailwind
colors: {
  custom: {
    50: '#ab74ce',
    500: '#8237b8',
    950: '#000000',
  },
}
SCSS
$custom: #8237b8;
$custom-light: #ab74ce;
$custom-dark: #000000;
JSON
{
  "hex": "#8237b8",
  "rgb": {
    "r": 130,
    "g": 55,
    "b": 184
  },
  "hsl": {
    "h": 274.884,
    "s": 53.975,
    "l": 46.863
  },
  "oklch": {
    "l": 0.5023,
    "c": 0.19573,
    "h": 307.3
  },
  "luminance": 0.10939
}

Semantic roles & 50–950 ramp

primary
#8237B8
secondary
#A0C784
accent
#DD4A88
background
#FAF7FC
surface
#F5EDF9
border
#CFC8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8237B8

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

Preview Lab → · Contrast checker → · Palette generator →

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