#8254E7#8254E7

#8254E7 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.5% C 0.211 H 293.0°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#8254E7
RGBrgb(130, 84, 231)
HSLhsl(259, 75%, 62%)
HSVhsv(259, 64%, 91%)
CMYKcmyk(43.7%, 63.6%, 0%, 9.4%)
CIE-LABlab(48.08, 51.66, -68.04)
CIE-LCHlch(48.08, 85.43, 307.21°)
OKLaboklab(57.47% 0.0824 -0.1944)
OKLCHoklch(57.47% 0.211 293)
XYZxyz(26.7961, 16.8552, 77.4274)
Luminance0.1686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8254E7 #B9E754
analogous
#546FE7 #8254E7 #CC54E7
triadic
#8254E7 #E78254 #54E782
tetradic
#8254E7 #E7546F #B9E754 #54E7CC
square
#8254E7 #E7546F #B9E754 #54E7CC
split-complementary
#8254E7 #E7CC54 #6FE754
monochromatic
#4518A9 #5B1FDF #8254E7 #A98AEF #D0BFF6

Accessibility & contrast

On white

4.80
#8254E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#8254E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8254E7
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8254E7#FFFFFF#000000##FFFFFF
##8254E71.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EC
Deuteranopia (green-blind)
#006FE4
Tritanopia (blue-blind)
#657796
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8254e7;
/* rgb */ color: rgb(130, 84, 231);
/* oklch */ color: oklch(57.5% 0.211 293.0);
Tailwind
colors: {
  custom: {
    50: '#ad87f0',
    500: '#8254e7',
    950: '#000000',
  },
}
SCSS
$custom: #8254e7;
$custom-light: #ad87f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8254e7",
  "rgb": {
    "r": 130,
    "g": 84,
    "b": 231
  },
  "hsl": {
    "h": 258.776,
    "s": 75.385,
    "l": 61.765
  },
  "oklch": {
    "l": 0.57465,
    "c": 0.21115,
    "h": 293
  },
  "luminance": 0.16856
}

Semantic roles & 50–950 ramp

primary
#8254E7
secondary
#D6E7B0
accent
#D80E98
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #8254E7

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

Preview Lab → · Contrast checker → · Palette generator →

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