#A254CD#A254CD

#A254CD is a mid, vivid violet. Relative luminance 0.184; OKLCH L 59.1% C 0.188 H 311.7°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#A254CD
RGBrgb(162, 84, 205)
HSLhsl(279, 55%, 57%)
HSVhsv(279, 59%, 80%)
CMYKcmyk(21%, 59%, 0%, 19.6%)
CIE-LABlab(50.01, 52.40, -49.94)
CIE-LCHlch(50.01, 72.39, 316.38°)
OKLaboklab(59.15% 0.1252 -0.1403)
OKLCHoklch(59.15% 0.188 311.7)
XYZxyz(29.0881, 18.4305, 59.7709)
Luminance0.1843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A254CD #7FCD54
analogous
#6654CD #A254CD #CD54BB
triadic
#A254CD #CDA254 #54CDA2
tetradic
#A254CD #CD6654 #7FCD54 #54BBCD
square
#A254CD #CD6654 #7FCD54 #54BBCD
split-complementary
#A254CD #BBCD54 #54CD66
monochromatic
#602681 #8434B0 #A254CD #BC83DB #D6B3E9

Accessibility & contrast

On white

4.48
#A254CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#A254CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A254CD
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A254CD#FFFFFF#000000##000000
##A254CD1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A73D1
Deuteranopia (green-blind)
#4B79CA
Tritanopia (blue-blind)
#9D6A89
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a254cd;
/* rgb */ color: rgb(162, 84, 205);
/* oklch */ color: oklch(59.1% 0.188 311.7);
Tailwind
colors: {
  custom: {
    50: '#c188dd',
    500: '#a254cd',
    950: '#000000',
  },
}
SCSS
$custom: #a254cd;
$custom-light: #c188dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a254cd",
  "rgb": {
    "r": 162,
    "g": 84,
    "b": 205
  },
  "hsl": {
    "h": 278.678,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.59147,
    "c": 0.18804,
    "h": 311.7
  },
  "luminance": 0.1843
}

Semantic roles & 50–950 ramp

primary
#A254CD
secondary
#B7D7A6
accent
#DE4A7E
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A254CD

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

Preview Lab → · Contrast checker → · Palette generator →

#A254CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva