#8254DD#8254DD

#8254DD is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.7% C 0.199 H 294.7°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#8254DD
RGBrgb(130, 84, 221)
HSLhsl(260, 67%, 60%)
HSVhsv(260, 62%, 87%)
CMYKcmyk(41.2%, 62%, 0%, 13.3%)
CIE-LABlab(47.37, 49.00, -63.51)
CIE-LCHlch(47.37, 80.22, 307.65°)
OKLaboklab(56.73% 0.0832 -0.1811)
OKLCHoklch(56.73% 0.199 294.7)
XYZxyz(25.4239, 16.3063, 70.2005)
Luminance0.1631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8254DD #AFDD54
analogous
#546BDD #8254DD #C654DD
triadic
#8254DD #DD8254 #54DD82
tetradic
#8254DD #DD546B #AFDD54 #54DDC6
square
#8254DD #DD546B #AFDD54 #54DDC6
split-complementary
#8254DD #DDC654 #6BDD54
monochromatic
#471E98 #5F28CB #8254DD #A787E7 #CDBAF1

Accessibility & contrast

On white

4.93
#8254DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#8254DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8254DD
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8254DD#FFFFFF#000000##FFFFFF
##8254DD1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E1
Deuteranopia (green-blind)
#006EDA
Tritanopia (blue-blind)
#6A7391
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8254dd;
/* rgb */ color: rgb(130, 84, 221);
/* oklch */ color: oklch(56.7% 0.199 294.7);
Tailwind
colors: {
  custom: {
    50: '#ac86e8',
    500: '#8254dd',
    950: '#000000',
  },
}
SCSS
$custom: #8254dd;
$custom-light: #ac86e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8254dd",
  "rgb": {
    "r": 130,
    "g": 84,
    "b": 221
  },
  "hsl": {
    "h": 260.146,
    "s": 66.829,
    "l": 59.804
  },
  "oklch": {
    "l": 0.56733,
    "c": 0.19932,
    "h": 294.7
  },
  "luminance": 0.16307
}

Semantic roles & 50–950 ramp

primary
#8254DD
secondary
#CFE1AC
accent
#EA3EB0
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8254DD

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

Preview Lab → · Contrast checker → · Palette generator →

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