#8237B5#8237B5

#8237B5 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 50.0% C 0.193 H 308.2°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#8237B5
RGBrgb(130, 55, 181)
HSLhsl(276, 53%, 46%)
HSVhsv(276, 70%, 71%)
CMYKcmyk(28.2%, 69.6%, 0%, 29%)
CIE-LABlab(39.27, 53.68, -53.47)
CIE-LCHlch(39.27, 75.76, 315.11°)
OKLaboklab(50.01% 0.119 -0.1515)
OKLCHoklch(50.01% 0.193 308.2)
XYZxyz(18.9109, 10.8147, 44.7983)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8237B5 #6AB537
analogous
#4337B5 #8237B5 #B537A9
triadic
#8237B5 #B58237 #37B582
tetradic
#8237B5 #B54337 #6AB537 #37A9B5
square
#8237B5 #B54337 #6AB537 #37A9B5
split-complementary
#8237B5 #A9B537 #37B543
monochromatic
#3F1A57 #602986 #8237B5 #9F5CCD #BB8BDC

Accessibility & contrast

On white

6.64
#8237B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#8237B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8237B5
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8237B5#FFFFFF#000000##FFFFFF
##8237B51.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB9
Deuteranopia (green-blind)
#195DB2
Tritanopia (blue-blind)
#7A5372
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8237b5;
/* rgb */ color: rgb(130, 55, 181);
/* oklch */ color: oklch(50.0% 0.193 308.2);
Tailwind
colors: {
  custom: {
    50: '#ab74cc',
    500: '#8237b5',
    950: '#000000',
  },
}
SCSS
$custom: #8237b5;
$custom-light: #ab74cc;
$custom-dark: #000000;
JSON
{
  "hex": "#8237b5",
  "rgb": {
    "r": 130,
    "g": 55,
    "b": 181
  },
  "hsl": {
    "h": 275.714,
    "s": 53.39,
    "l": 46.275
  },
  "oklch": {
    "l": 0.50012,
    "c": 0.19266,
    "h": 308.2
  },
  "luminance": 0.10814
}

Semantic roles & 50–950 ramp

primary
#8237B5
secondary
#9DC682
accent
#DD4B86
background
#FAF7FC
surface
#F5EDF9
border
#CFC8D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #8237B5

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

Preview Lab → · Contrast checker → · Palette generator →

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