#8251EA#8251EA

#8251EA is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.3% C 0.218 H 292.9°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#8251EA
RGBrgb(130, 81, 234)
HSLhsl(259, 78%, 62%)
HSVhsv(259, 65%, 92%)
CMYKcmyk(44.4%, 65.4%, 0%, 8.2%)
CIE-LABlab(47.71, 54.04, -70.32)
CIE-LCHlch(47.71, 88.68, 307.54°)
OKLaboklab(57.27% 0.0851 -0.2011)
OKLCHoklch(57.27% 0.218 292.9)
XYZxyz(26.9956, 16.5704, 79.6020)
Luminance0.1657 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8251EA #B9EA51
analogous
#516DEA #8251EA #CF51EA
triadic
#8251EA #EA8251 #51EA82
tetradic
#8251EA #EA516D #B9EA51 #51EACF
square
#8251EA #EA516D #B9EA51 #51EACF
split-complementary
#8251EA #EACF51 #6DEA51
monochromatic
#4515AC #5B1BE2 #8251EA #A988F1 #D0BEF7

Accessibility & contrast

On white

4.87
#8251EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#8251EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8251EA
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8251EA#FFFFFF#000000##FFFFFF
##8251EA1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EF
Deuteranopia (green-blind)
#006EE7
Tritanopia (blue-blind)
#647697
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8251ea;
/* rgb */ color: rgb(130, 81, 234);
/* oklch */ color: oklch(57.3% 0.218 292.9);
Tailwind
colors: {
  custom: {
    50: '#ae85f2',
    500: '#8251ea',
    950: '#000000',
  },
}
SCSS
$custom: #8251ea;
$custom-light: #ae85f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8251ea",
  "rgb": {
    "r": 130,
    "g": 81,
    "b": 234
  },
  "hsl": {
    "h": 259.216,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.57271,
    "c": 0.21838,
    "h": 292.9
  },
  "luminance": 0.16571
}

Semantic roles & 50–950 ramp

primary
#8251EA
secondary
#D6E8AF
accent
#DB0B98
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #8251EA

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

Preview Lab → · Contrast checker → · Palette generator →

#8251EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva