#8239E2#8239E2

#8239E2 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.7% C 0.237 H 297.3°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#8239E2
RGBrgb(130, 57, 226)
HSLhsl(266, 74%, 55%)
HSVhsv(266, 75%, 89%)
CMYKcmyk(42.5%, 74.8%, 0%, 11.4%)
CIE-LABlab(43.01, 63.40, -73.46)
CIE-LCHlch(43.01, 97.04, 310.80°)
OKLaboklab(53.73% 0.1085 -0.2103)
OKLCHoklch(53.73% 0.237 297.3)
XYZxyz(24.3929, 13.1626, 73.1922)
Luminance0.1316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8239E2 #99E239
analogous
#3944E2 #8239E2 #D639E2
triadic
#8239E2 #E28239 #39E282
tetradic
#8239E2 #E23944 #99E239 #39E2D6
square
#8239E2 #E23944 #99E239 #39E2D6
split-complementary
#8239E2 #E2D639 #44E239
monochromatic
#48158C #641CC1 #8239E2 #A46EEA #C5A4F2

Accessibility & contrast

On white

5.78
#8239E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#8239E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8239E2
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8239E2#FFFFFF#000000##FFFFFF
##8239E21.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E7
Deuteranopia (green-blind)
#0063DF
Tritanopia (blue-blind)
#69668C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8239e2;
/* rgb */ color: rgb(130, 57, 226);
/* oklch */ color: oklch(53.7% 0.237 297.3);
Tailwind
colors: {
  custom: {
    50: '#ae77ec',
    500: '#8239e2',
    950: '#000000',
  },
}
SCSS
$custom: #8239e2;
$custom-light: #ae77ec;
$custom-dark: #000000;
JSON
{
  "hex": "#8239e2",
  "rgb": {
    "r": 130,
    "g": 57,
    "b": 226
  },
  "hsl": {
    "h": 265.917,
    "s": 74.449,
    "l": 55.49
  },
  "oklch": {
    "l": 0.53731,
    "c": 0.23662,
    "h": 297.3
  },
  "luminance": 0.13163
}

Semantic roles & 50–950 ramp

primary
#8239E2
secondary
#C0DF98
accent
#F137A1
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #8239E2

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

Preview Lab → · Contrast checker → · Palette generator →

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