#8254CA#8254CA

#8254CA is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.4% C 0.176 H 298.4°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#8254CA
RGBrgb(130, 84, 202)
HSLhsl(263, 53%, 56%)
HSVhsv(263, 58%, 79%)
CMYKcmyk(35.6%, 58.4%, 0%, 20.8%)
CIE-LABlab(46.11, 44.01, -54.68)
CIE-LCHlch(46.11, 70.19, 308.83°)
OKLaboklab(55.41% 0.084 -0.1551)
OKLCHoklch(55.41% 0.176 298.4)
XYZxyz(23.0343, 15.3505, 57.6150)
Luminance0.1535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8254CA #9CCA54
analogous
#5461CA #8254CA #BD54CA
triadic
#8254CA #CA8254 #54CA82
tetradic
#8254CA #CA5461 #9CCA54 #54CABD
square
#8254CA #CA5461 #9CCA54 #54CABD
split-complementary
#8254CA #CABD54 #61CA54
monochromatic
#48277D #6335AC #8254CA #A483D8 #C6B1E7

Accessibility & contrast

On white

5.16
#8254CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#8254CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8254CA
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8254CA#FFFFFF#000000##FFFFFF
##8254CA1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#136DCE
Deuteranopia (green-blind)
#2B6CC7
Tritanopia (blue-blind)
#726D87
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8254ca;
/* rgb */ color: rgb(130, 84, 202);
/* oklch */ color: oklch(55.4% 0.176 298.4);
Tailwind
colors: {
  custom: {
    50: '#ab86db',
    500: '#8254ca',
    950: '#000000',
  },
}
SCSS
$custom: #8254ca;
$custom-light: #ab86db;
$custom-dark: #000000;
JSON
{
  "hex": "#8254ca",
  "rgb": {
    "r": 130,
    "g": 84,
    "b": 202
  },
  "hsl": {
    "h": 263.39,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.5541,
    "c": 0.17643,
    "h": 298.4
  },
  "luminance": 0.15351
}

Semantic roles & 50–950 ramp

primary
#8254CA
secondary
#C2D5A5
accent
#DC4CA4
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8254CA

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

Preview Lab → · Contrast checker → · Palette generator →

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