#8237AF#8237AF

#8237AF is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.6% C 0.187 H 309.9°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#8237AF
RGBrgb(130, 55, 175)
HSLhsl(278, 52%, 45%)
HSVhsv(278, 69%, 69%)
CMYKcmyk(25.7%, 68.6%, 0%, 31.4%)
CIE-LABlab(38.85, 52.33, -50.58)
CIE-LCHlch(38.85, 72.78, 315.97°)
OKLaboklab(49.59% 0.1197 -0.143)
OKLCHoklch(49.59% 0.187 309.9)
XYZxyz(18.3085, 10.5737, 41.6256)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8237AF #64AF37
analogous
#4637AF #8237AF #AF37A0
triadic
#8237AF #AF8237 #37AF82
tetradic
#8237AF #AF4637 #64AF37 #37A0AF
square
#8237AF #AF4637 #64AF37 #37A0AF
split-complementary
#8237AF #A0AF37 #37AF46
monochromatic
#3D1A52 #5F2880 #8237AF #A059CB #BA87D9

Accessibility & contrast

On white

6.74
#8237AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#8237AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8237AF
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8237AF#FFFFFF#000000##FFFFFF
##8237AF1.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B3
Deuteranopia (green-blind)
#235DAC
Tritanopia (blue-blind)
#7C516F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8237af;
/* rgb */ color: rgb(130, 55, 175);
/* oklch */ color: oklch(49.6% 0.187 309.9);
Tailwind
colors: {
  custom: {
    50: '#aa74c8',
    500: '#8237af',
    950: '#000000',
  },
}
SCSS
$custom: #8237af;
$custom-light: #aa74c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8237af",
  "rgb": {
    "r": 130,
    "g": 55,
    "b": 175
  },
  "hsl": {
    "h": 277.5,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.49585,
    "c": 0.18651,
    "h": 309.9
  },
  "luminance": 0.10573
}

Semantic roles & 50–950 ramp

primary
#8237AF
secondary
#98C37F
accent
#DC4C82
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #8237AF

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

Preview Lab → · Contrast checker → · Palette generator →

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