#8254E4#8254E4

#8254E4 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.2% C 0.208 H 293.5°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#8254E4
RGBrgb(130, 84, 228)
HSLhsl(259, 73%, 61%)
HSVhsv(259, 63%, 89%)
CMYKcmyk(43%, 63.2%, 0%, 10.6%)
CIE-LABlab(47.86, 50.86, -66.69)
CIE-LCHlch(47.86, 83.87, 307.33°)
OKLaboklab(57.24% 0.0826 -0.1905)
OKLCHoklch(57.24% 0.208 293.5)
XYZxyz(26.3760, 16.6872, 75.2150)
Luminance0.1669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8254E4 #B6E454
analogous
#546EE4 #8254E4 #CA54E4
triadic
#8254E4 #E48254 #54E482
tetradic
#8254E4 #E4546E #B6E454 #54E4CA
square
#8254E4 #E4546E #B6E454 #54E4CA
split-complementary
#8254E4 #E4CA54 #6EE454
monochromatic
#461AA4 #5C22D9 #8254E4 #A989EC #CFBEF5

Accessibility & contrast

On white

4.84
#8254E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#8254E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8254E4
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8254E4#FFFFFF#000000##FFFFFF
##8254E41.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E9
Deuteranopia (green-blind)
#006FE1
Tritanopia (blue-blind)
#677694
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8254e4;
/* rgb */ color: rgb(130, 84, 228);
/* oklch */ color: oklch(57.2% 0.208 293.5);
Tailwind
colors: {
  custom: {
    50: '#ad86ed',
    500: '#8254e4',
    950: '#000000',
  },
}
SCSS
$custom: #8254e4;
$custom-light: #ad86ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8254e4",
  "rgb": {
    "r": 130,
    "g": 84,
    "b": 228
  },
  "hsl": {
    "h": 259.167,
    "s": 72.727,
    "l": 61.176
  },
  "oklch": {
    "l": 0.57243,
    "c": 0.20762,
    "h": 293.5
  },
  "luminance": 0.16688
}

Semantic roles & 50–950 ramp

primary
#8254E4
secondary
#D4E5AF
accent
#D51196
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8254E4

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

Preview Lab → · Contrast checker → · Palette generator →

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