#8239D5#8239D5

#8239D5 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.7% C 0.223 H 300.0°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#8239D5
RGBrgb(130, 57, 213)
HSLhsl(268, 65%, 53%)
HSVhsv(268, 73%, 84%)
CMYKcmyk(39%, 73.2%, 0%, 16.5%)
CIE-LABlab(41.96, 60.27, -67.73)
CIE-LCHlch(41.96, 90.66, 311.66°)
OKLaboklab(52.67% 0.1115 -0.1934)
OKLCHoklch(52.67% 0.223 300)
XYZxyz(22.6763, 12.4759, 64.1513)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8239D5 #8CD539
analogous
#393ED5 #8239D5 #D039D5
triadic
#8239D5 #D58239 #39D582
tetradic
#8239D5 #D5393E #8CD539 #39D5D0
square
#8239D5 #D5393E #8CD539 #39D5D0
split-complementary
#8239D5 #D5D039 #3ED539
monochromatic
#471A7A #6425AC #8239D5 #A26BE0 #C29EEA

Accessibility & contrast

On white

6.01
#8239D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#8239D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8239D5
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8239D5#FFFFFF#000000##FFFFFF
##8239D51.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D9
Deuteranopia (green-blind)
#0062D2
Tritanopia (blue-blind)
#6F6184
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8239d5;
/* rgb */ color: rgb(130, 57, 213);
/* oklch */ color: oklch(52.7% 0.223 300.0);
Tailwind
colors: {
  custom: {
    50: '#ad76e3',
    500: '#8239d5',
    950: '#000000',
  },
}
SCSS
$custom: #8239d5;
$custom-light: #ad76e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8239d5",
  "rgb": {
    "r": 130,
    "g": 57,
    "b": 213
  },
  "hsl": {
    "h": 268.077,
    "s": 65,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52672,
    "c": 0.22328,
    "h": 300
  },
  "luminance": 0.12476
}

Semantic roles & 50–950 ramp

primary
#8239D5
secondary
#B7D793
accent
#E84099
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#110916
muted
#807B84

Preview Lab

Preview with #8239D5

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

Preview Lab → · Contrast checker → · Palette generator →

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