#8254EA#8254EA

#8254EA is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.7% C 0.215 H 292.5°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#8254EA
RGBrgb(130, 84, 234)
HSLhsl(258, 78%, 62%)
HSVhsv(258, 64%, 92%)
CMYKcmyk(44.4%, 64.1%, 0%, 8.2%)
CIE-LABlab(48.29, 52.46, -69.38)
CIE-LCHlch(48.29, 86.98, 307.10°)
OKLaboklab(57.69% 0.0821 -0.1984)
OKLCHoklch(57.69% 0.215 292.5)
XYZxyz(27.2234, 17.0261, 79.6780)
Luminance0.1703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8254EA #BCEA54
analogous
#5471EA #8254EA #CD54EA
triadic
#8254EA #EA8254 #54EA82
tetradic
#8254EA #EA5471 #BCEA54 #54EACD
square
#8254EA #EA5471 #BCEA54 #54EACD
split-complementary
#8254EA #EACD54 #71EA54
monochromatic
#4415AE #5A1DE3 #8254EA #AA8BF1 #D2C1F7

Accessibility & contrast

On white

4.77
#8254EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#8254EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8254EA
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8254EA#FFFFFF#000000##FFFFFF
##8254EA1.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075EF
Deuteranopia (green-blind)
#0070E7
Tritanopia (blue-blind)
#647898
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8254ea;
/* rgb */ color: rgb(130, 84, 234);
/* oklch */ color: oklch(57.7% 0.215 292.5);
Tailwind
colors: {
  custom: {
    50: '#ae87f2',
    500: '#8254ea',
    950: '#000000',
  },
}
SCSS
$custom: #8254ea;
$custom-light: #ae87f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8254ea",
  "rgb": {
    "r": 130,
    "g": 84,
    "b": 234
  },
  "hsl": {
    "h": 258.4,
    "s": 78.125,
    "l": 62.353
  },
  "oklch": {
    "l": 0.57689,
    "c": 0.21467,
    "h": 292.5
  },
  "luminance": 0.17027
}

Semantic roles & 50–950 ramp

primary
#8254EA
secondary
#D7E8B2
accent
#DA0B9B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #8254EA

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

Preview Lab → · Contrast checker → · Palette generator →

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