#8239B2#8239B2

#8239B2 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 50.0% C 0.187 H 308.8°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#8239B2
RGBrgb(130, 57, 178)
HSLhsl(276, 51%, 46%)
HSVhsv(276, 68%, 70%)
CMYKcmyk(27%, 68%, 0%, 30.2%)
CIE-LABlab(39.39, 52.08, -51.49)
CIE-LCHlch(39.39, 73.24, 315.32°)
OKLaboklab(50.03% 0.1172 -0.1457)
OKLCHoklch(50.03% 0.187 308.8)
XYZxyz(18.7033, 10.8868, 43.2269)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8239B2 #69B239
analogous
#4539B2 #8239B2 #B239A5
triadic
#8239B2 #B28239 #39B282
tetradic
#8239B2 #B24539 #69B239 #39A5B2
square
#8239B2 #B24539 #69B239 #39A5B2
split-complementary
#8239B2 #A5B239 #39B245
monochromatic
#3E1B55 #602A84 #8239B2 #9F5DCB #BB8BDA

Accessibility & contrast

On white

6.61
#8239B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#8239B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8239B2
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8239B2#FFFFFF#000000##FFFFFF
##8239B21.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB6
Deuteranopia (green-blind)
#225EAF
Tritanopia (blue-blind)
#7B5371
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8239b2;
/* rgb */ color: rgb(130, 57, 178);
/* oklch */ color: oklch(50.0% 0.187 308.8);
Tailwind
colors: {
  custom: {
    50: '#aa75ca',
    500: '#8239b2',
    950: '#000000',
  },
}
SCSS
$custom: #8239b2;
$custom-light: #aa75ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8239b2",
  "rgb": {
    "r": 130,
    "g": 57,
    "b": 178
  },
  "hsl": {
    "h": 276.198,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.50034,
    "c": 0.18698,
    "h": 308.8
  },
  "luminance": 0.10886
}

Semantic roles & 50–950 ramp

primary
#8239B2
secondary
#9DC482
accent
#DB4D85
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #8239B2

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

Preview Lab → · Contrast checker → · Palette generator →

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