#8254E6#8254E6

#8254E6 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.4% C 0.210 H 293.1°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#8254E6
RGBrgb(130, 84, 230)
HSLhsl(259, 74%, 62%)
HSVhsv(259, 63%, 90%)
CMYKcmyk(43.5%, 63.5%, 0%, 9.8%)
CIE-LABlab(48.01, 51.39, -67.59)
CIE-LCHlch(48.01, 84.91, 307.25°)
OKLaboklab(57.39% 0.0825 -0.1931)
OKLCHoklch(57.39% 0.21 293.1)
XYZxyz(26.6553, 16.7989, 76.6857)
Luminance0.1680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8254E6 #B8E654
analogous
#546FE6 #8254E6 #CB54E6
triadic
#8254E6 #E68254 #54E682
tetradic
#8254E6 #E6546F #B8E654 #54E6CB
square
#8254E6 #E6546F #B8E654 #54E6CB
split-complementary
#8254E6 #E6CB54 #6FE654
monochromatic
#4518A7 #5C20DD #8254E6 #A989EE #D0BFF6

Accessibility & contrast

On white

4.82
#8254E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#8254E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8254E6
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8254E6#FFFFFF#000000##FFFFFF
##8254E61.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EB
Deuteranopia (green-blind)
#006FE3
Tritanopia (blue-blind)
#667696
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8254e6;
/* rgb */ color: rgb(130, 84, 230);
/* oklch */ color: oklch(57.4% 0.210 293.1);
Tailwind
colors: {
  custom: {
    50: '#ad86ef',
    500: '#8254e6',
    950: '#000000',
  },
}
SCSS
$custom: #8254e6;
$custom-light: #ad86ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8254e6",
  "rgb": {
    "r": 130,
    "g": 84,
    "b": 230
  },
  "hsl": {
    "h": 258.904,
    "s": 74.49,
    "l": 61.569
  },
  "oklch": {
    "l": 0.57391,
    "c": 0.20997,
    "h": 293.1
  },
  "luminance": 0.168
}

Semantic roles & 50–950 ramp

primary
#8254E6
secondary
#D5E6B0
accent
#D70F98
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #8254E6

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

Preview Lab → · Contrast checker → · Palette generator →

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