#8239BA#8239BA

#8239BA is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.6% C 0.195 H 306.5°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#8239BA
RGBrgb(130, 57, 186)
HSLhsl(274, 53%, 48%)
HSVhsv(274, 69%, 73%)
CMYKcmyk(30.1%, 69.4%, 0%, 27.1%)
CIE-LABlab(39.94, 53.91, -55.31)
CIE-LCHlch(39.94, 77.24, 314.26°)
OKLaboklab(50.61% 0.1163 -0.1569)
OKLCHoklch(50.61% 0.195 306.5)
XYZxyz(19.5301, 11.2175, 47.5812)
Luminance0.1122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8239BA #71BA39
analogous
#4139BA #8239BA #BA39B2
triadic
#8239BA #BA8239 #39BA82
tetradic
#8239BA #BA4139 #71BA39 #39B2BA
square
#8239BA #BA4139 #71BA39 #39B2BA
split-complementary
#8239BA #B2BA39 #39BA41
monochromatic
#411C5C #612B8B #8239BA #9F61CF #BC90DD

Accessibility & contrast

On white

6.47
#8239BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#8239BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8239BA
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8239BA#FFFFFF#000000##FFFFFF
##8239BA1.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBE
Deuteranopia (green-blind)
#105FB7
Tritanopia (blue-blind)
#785675
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8239ba;
/* rgb */ color: rgb(130, 57, 186);
/* oklch */ color: oklch(50.6% 0.195 306.5);
Tailwind
colors: {
  custom: {
    50: '#ab75cf',
    500: '#8239ba',
    950: '#000000',
  },
}
SCSS
$custom: #8239ba;
$custom-light: #ab75cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8239ba",
  "rgb": {
    "r": 130,
    "g": 57,
    "b": 186
  },
  "hsl": {
    "h": 273.953,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.50607,
    "c": 0.19531,
    "h": 306.5
  },
  "luminance": 0.11217
}

Semantic roles & 50–950 ramp

primary
#8239BA
secondary
#A3C887
accent
#DC4B8A
background
#FAF7FC
surface
#F5EDF9
border
#CFC8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8239BA

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

Preview Lab → · Contrast checker → · Palette generator →

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