#8254E5#8254E5

#8254E5 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.3% C 0.209 H 293.3°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#8254E5
RGBrgb(130, 84, 229)
HSLhsl(259, 74%, 61%)
HSVhsv(259, 63%, 90%)
CMYKcmyk(43.2%, 63.3%, 0%, 10.2%)
CIE-LABlab(47.93, 51.13, -67.14)
CIE-LCHlch(47.93, 84.39, 307.29°)
OKLaboklab(57.32% 0.0825 -0.1918)
OKLCHoklch(57.32% 0.209 293.3)
XYZxyz(26.5153, 16.7429, 75.9482)
Luminance0.1674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8254E5 #B7E554
analogous
#546FE5 #8254E5 #CA54E5
triadic
#8254E5 #E58254 #54E582
tetradic
#8254E5 #E5546F #B7E554 #54E5CA
square
#8254E5 #E5546F #B7E554 #54E5CA
split-complementary
#8254E5 #E5CA54 #6FE554
monochromatic
#4619A5 #5C21DB #8254E5 #A989ED #D0BEF5

Accessibility & contrast

On white

4.83
#8254E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#8254E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8254E5
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8254E5#FFFFFF#000000##FFFFFF
##8254E51.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EA
Deuteranopia (green-blind)
#006FE2
Tritanopia (blue-blind)
#667695
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8254e5;
/* rgb */ color: rgb(130, 84, 229);
/* oklch */ color: oklch(57.3% 0.209 293.3);
Tailwind
colors: {
  custom: {
    50: '#ad86ee',
    500: '#8254e5',
    950: '#000000',
  },
}
SCSS
$custom: #8254e5;
$custom-light: #ad86ee;
$custom-dark: #000000;
JSON
{
  "hex": "#8254e5",
  "rgb": {
    "r": 130,
    "g": 84,
    "b": 229
  },
  "hsl": {
    "h": 259.034,
    "s": 73.604,
    "l": 61.373
  },
  "oklch": {
    "l": 0.57317,
    "c": 0.2088,
    "h": 293.3
  },
  "luminance": 0.16744
}

Semantic roles & 50–950 ramp

primary
#8254E5
secondary
#D4E6AF
accent
#D61097
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8254E5

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

Preview Lab → · Contrast checker → · Palette generator →

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