#8239AB#8239AB

#8239AB is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.5% C 0.180 H 311.0°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#8239AB
RGBrgb(130, 57, 171)
HSLhsl(278, 50%, 45%)
HSVhsv(278, 67%, 67%)
CMYKcmyk(24%, 66.7%, 0%, 32.9%)
CIE-LABlab(38.92, 50.50, -48.09)
CIE-LCHlch(38.92, 69.74, 316.40°)
OKLaboklab(49.55% 0.1178 -0.1357)
OKLCHoklch(49.55% 0.18 311)
XYZxyz(18.0184, 10.6128, 39.6195)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8239AB #62AB39
analogous
#4939AB #8239AB #AB399B
triadic
#8239AB #AB8239 #39AB82
tetradic
#8239AB #AB4939 #62AB39 #399BAB
square
#8239AB #AB4939 #62AB39 #399BAB
split-complementary
#8239AB #9BAB39 #39AB49
monochromatic
#3C1A4F #5F2A7D #8239AB #A059C8 #BA87D7

Accessibility & contrast

On white

6.73
#8239AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#8239AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8239AB
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8239AB#FFFFFF#000000##FFFFFF
##8239AB1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AE
Deuteranopia (green-blind)
#2B5DA8
Tritanopia (blue-blind)
#7D506D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8239ab;
/* rgb */ color: rgb(130, 57, 171);
/* oklch */ color: oklch(49.5% 0.180 311.0);
Tailwind
colors: {
  custom: {
    50: '#aa75c5',
    500: '#8239ab',
    950: '#000000',
  },
}
SCSS
$custom: #8239ab;
$custom-light: #aa75c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8239ab",
  "rgb": {
    "r": 130,
    "g": 57,
    "b": 171
  },
  "hsl": {
    "h": 278.421,
    "s": 50,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49549,
    "c": 0.17971,
    "h": 311
  },
  "luminance": 0.10612
}

Semantic roles & 50–950 ramp

primary
#8239AB
secondary
#97C17F
accent
#DA4E80
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #8239AB

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

Preview Lab → · Contrast checker → · Palette generator →

#8239AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva