#8239B5#8239B5

#8239B5 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.2% C 0.190 H 307.9°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#8239B5
RGBrgb(130, 57, 181)
HSLhsl(275, 52%, 47%)
HSVhsv(275, 69%, 71%)
CMYKcmyk(28.2%, 68.5%, 0%, 29%)
CIE-LABlab(39.59, 52.76, -52.93)
CIE-LCHlch(39.59, 74.74, 314.91°)
OKLaboklab(50.25% 0.1169 -0.1499)
OKLCHoklch(50.25% 0.19 307.9)
XYZxyz(19.0078, 11.0086, 44.8306)
Luminance0.1101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8239B5 #6CB539
analogous
#4439B5 #8239B5 #B539AA
triadic
#8239B5 #B58239 #39B582
tetradic
#8239B5 #B54439 #6CB539 #39AAB5
square
#8239B5 #B54439 #6CB539 #39AAB5
split-complementary
#8239B5 #AAB539 #39B544
monochromatic
#3F1C58 #612A86 #8239B5 #9F5FCD #BB8DDB

Accessibility & contrast

On white

6.56
#8239B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#8239B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8239B5
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8239B5#FFFFFF#000000##FFFFFF
##8239B51.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB9
Deuteranopia (green-blind)
#1C5EB2
Tritanopia (blue-blind)
#7A5472
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8239b5;
/* rgb */ color: rgb(130, 57, 181);
/* oklch */ color: oklch(50.2% 0.190 307.9);
Tailwind
colors: {
  custom: {
    50: '#ab75cc',
    500: '#8239b5',
    950: '#000000',
  },
}
SCSS
$custom: #8239b5;
$custom-light: #ab75cc;
$custom-dark: #000000;
JSON
{
  "hex": "#8239b5",
  "rgb": {
    "r": 130,
    "g": 57,
    "b": 181
  },
  "hsl": {
    "h": 275.323,
    "s": 52.101,
    "l": 46.667
  },
  "oklch": {
    "l": 0.50247,
    "c": 0.19011,
    "h": 307.9
  },
  "luminance": 0.11008
}

Semantic roles & 50–950 ramp

primary
#8239B5
secondary
#9FC684
accent
#DC4C87
background
#FAF7FC
surface
#F5EDF9
border
#CFC8D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #8239B5

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

Preview Lab → · Contrast checker → · Palette generator →

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