#8237B4#8237B4

#8237B4 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.9% C 0.192 H 308.4°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#8237B4
RGBrgb(130, 55, 180)
HSLhsl(276, 53%, 46%)
HSVhsv(276, 69%, 71%)
CMYKcmyk(27.8%, 69.4%, 0%, 29.4%)
CIE-LABlab(39.20, 53.45, -52.99)
CIE-LCHlch(39.20, 75.26, 315.25°)
OKLaboklab(49.94% 0.1192 -0.1501)
OKLCHoklch(49.94% 0.192 308.4)
XYZxyz(18.8086, 10.7738, 44.2599)
Luminance0.1077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8237B4 #69B437
analogous
#4337B4 #8237B4 #B437A7
triadic
#8237B4 #B48237 #37B482
tetradic
#8237B4 #B44337 #69B437 #37A7B4
square
#8237B4 #B44337 #69B437 #37A7B4
split-complementary
#8237B4 #A7B437 #37B443
monochromatic
#3E1A56 #602985 #8237B4 #9F5BCD #BB8ADB

Accessibility & contrast

On white

6.66
#8237B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#8237B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8237B4
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8237B4#FFFFFF#000000##FFFFFF
##8237B41.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B8
Deuteranopia (green-blind)
#1B5DB1
Tritanopia (blue-blind)
#7A5271
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8237b4;
/* rgb */ color: rgb(130, 55, 180);
/* oklch */ color: oklch(49.9% 0.192 308.4);
Tailwind
colors: {
  custom: {
    50: '#ab74cb',
    500: '#8237b4',
    950: '#000000',
  },
}
SCSS
$custom: #8237b4;
$custom-light: #ab74cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8237b4",
  "rgb": {
    "r": 130,
    "g": 55,
    "b": 180
  },
  "hsl": {
    "h": 276,
    "s": 53.191,
    "l": 46.078
  },
  "oklch": {
    "l": 0.4994,
    "c": 0.19163,
    "h": 308.4
  },
  "luminance": 0.10773
}

Semantic roles & 50–950 ramp

primary
#8237B4
secondary
#9DC681
accent
#DD4B85
background
#FAF7FC
surface
#F5EDF9
border
#CFC8D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #8237B4

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

Preview Lab → · Contrast checker → · Palette generator →

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