#8254C8#8254C8

#8254C8 is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.3% C 0.174 H 298.9°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#8254C8
RGBrgb(130, 84, 200)
HSLhsl(264, 51%, 56%)
HSVhsv(264, 58%, 78%)
CMYKcmyk(35%, 58%, 0%, 21.6%)
CIE-LABlab(45.98, 43.50, -53.73)
CIE-LCHlch(45.98, 69.13, 308.99°)
OKLaboklab(55.28% 0.084 -0.1524)
OKLCHoklch(55.28% 0.174 298.9)
XYZxyz(22.7990, 15.2564, 56.3760)
Luminance0.1526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8254C8 #9AC854
analogous
#5460C8 #8254C8 #BC54C8
triadic
#8254C8 #C88254 #54C882
tetradic
#8254C8 #C85460 #9AC854 #54C8BC
square
#8254C8 #C85460 #9AC854 #54C8BC
split-complementary
#8254C8 #C8BC54 #60C854
monochromatic
#48277A #6436A9 #8254C8 #A482D7 #C6B1E6

Accessibility & contrast

On white

5.18
#8254C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#8254C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8254C8
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8254C8#FFFFFF#000000##FFFFFF
##8254C81.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#186DCC
Deuteranopia (green-blind)
#2D6CC5
Tritanopia (blue-blind)
#736C86
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8254c8;
/* rgb */ color: rgb(130, 84, 200);
/* oklch */ color: oklch(55.3% 0.174 298.9);
Tailwind
colors: {
  custom: {
    50: '#aa86d9',
    500: '#8254c8',
    950: '#000000',
  },
}
SCSS
$custom: #8254c8;
$custom-light: #aa86d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8254c8",
  "rgb": {
    "r": 130,
    "g": 84,
    "b": 200
  },
  "hsl": {
    "h": 263.793,
    "s": 51.327,
    "l": 55.686
  },
  "oklch": {
    "l": 0.55276,
    "c": 0.174,
    "h": 298.9
  },
  "luminance": 0.15257
}

Semantic roles & 50–950 ramp

primary
#8254C8
secondary
#C1D4A4
accent
#DB4DA3
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8254C8

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

Preview Lab → · Contrast checker → · Palette generator →

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