#8239C5#8239C5

#8239C5 is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.4% C 0.207 H 303.7°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#8239C5
RGBrgb(130, 57, 197)
HSLhsl(271, 55%, 50%)
HSVhsv(271, 71%, 77%)
CMYKcmyk(34%, 71.1%, 0%, 22.7%)
CIE-LABlab(40.74, 56.47, -60.46)
CIE-LCHlch(40.74, 82.73, 313.05°)
OKLaboklab(51.43% 0.1146 -0.172)
OKLCHoklch(51.43% 0.207 303.7)
XYZxyz(20.7448, 11.7033, 53.9786)
Luminance0.1170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8239C5 #7CC539
analogous
#3C39C5 #8239C5 #C539C2
triadic
#8239C5 #C58239 #39C582
tetradic
#8239C5 #C53C39 #7CC539 #39C2C5
square
#8239C5 #C53C39 #7CC539 #39C2C5
split-complementary
#8239C5 #C2C539 #39C53C
monochromatic
#431E66 #632B96 #8239C5 #A068D3 #BE97E1

Accessibility & contrast

On white

6.29
#8239C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#8239C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8239C5
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8239C5#FFFFFF#000000##FFFFFF
##8239C51.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC9
Deuteranopia (green-blind)
#0060C2
Tritanopia (blue-blind)
#755A7B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8239c5;
/* rgb */ color: rgb(130, 57, 197);
/* oklch */ color: oklch(51.4% 0.207 303.7);
Tailwind
colors: {
  custom: {
    50: '#ac76d7',
    500: '#8239c5',
    950: '#000000',
  },
}
SCSS
$custom: #8239c5;
$custom-light: #ac76d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8239c5",
  "rgb": {
    "r": 130,
    "g": 57,
    "b": 197
  },
  "hsl": {
    "h": 271.286,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51425,
    "c": 0.20673,
    "h": 303.7
  },
  "luminance": 0.11703
}

Semantic roles & 50–950 ramp

primary
#8239C5
secondary
#ACCD8D
accent
#DE4991
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8239C5

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

Preview Lab → · Contrast checker → · Palette generator →

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