#8254CD#8254CD

#8254CD is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.6% C 0.180 H 297.8°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#8254CD
RGBrgb(130, 84, 205)
HSLhsl(263, 55%, 57%)
HSVhsv(263, 59%, 80%)
CMYKcmyk(36.6%, 59%, 0%, 19.6%)
CIE-LABlab(46.30, 44.79, -56.10)
CIE-LCHlch(46.30, 71.79, 308.61°)
OKLaboklab(55.61% 0.084 -0.1593)
OKLCHoklch(55.61% 0.18 297.8)
XYZxyz(23.3929, 15.4939, 59.5039)
Luminance0.1549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8254CD #9FCD54
analogous
#5463CD #8254CD #BF54CD
triadic
#8254CD #CD8254 #54CD82
tetradic
#8254CD #CD5463 #9FCD54 #54CDBF
square
#8254CD #CD5463 #9FCD54 #54CDBF
split-complementary
#8254CD #CDBF54 #63CD54
monochromatic
#482681 #6334B0 #8254CD #A583DB #C7B3E9

Accessibility & contrast

On white

5.12
#8254CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#8254CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8254CD
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8254CD#FFFFFF#000000##FFFFFF
##8254CD1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#076ED1
Deuteranopia (green-blind)
#266CCA
Tritanopia (blue-blind)
#716E88
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8254cd;
/* rgb */ color: rgb(130, 84, 205);
/* oklch */ color: oklch(55.6% 0.180 297.8);
Tailwind
colors: {
  custom: {
    50: '#ab86dd',
    500: '#8254cd',
    950: '#000000',
  },
}
SCSS
$custom: #8254cd;
$custom-light: #ab86dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8254cd",
  "rgb": {
    "r": 130,
    "g": 84,
    "b": 205
  },
  "hsl": {
    "h": 262.81,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.55613,
    "c": 0.18008,
    "h": 297.8
  },
  "luminance": 0.15494
}

Semantic roles & 50–950 ramp

primary
#8254CD
secondary
#C4D7A6
accent
#DE4AA6
background
#FAF8FD
surface
#F5EFFB
border
#CFCAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8254CD

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

Preview Lab → · Contrast checker → · Palette generator →

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