#A254CE#A254CE

#A254CE is a mid, vivid violet. Relative luminance 0.185; OKLCH L 59.2% C 0.189 H 311.5°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#A254CE
RGBrgb(162, 84, 206)
HSLhsl(278, 55%, 57%)
HSVhsv(278, 59%, 81%)
CMYKcmyk(21.4%, 59.2%, 0%, 19.2%)
CIE-LABlab(50.07, 52.62, -50.42)
CIE-LCHlch(50.07, 72.88, 316.22°)
OKLaboklab(59.21% 0.1252 -0.1417)
OKLCHoklch(59.21% 0.189 311.5)
XYZxyz(29.2092, 18.4789, 60.4086)
Luminance0.1848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A254CE #80CE54
analogous
#6554CE #A254CE #CE54BD
triadic
#A254CE #CEA254 #54CEA2
tetradic
#A254CE #CE6554 #80CE54 #54BDCE
square
#A254CE #CE6554 #80CE54 #54BDCE
split-complementary
#A254CE #BDCE54 #54CE65
monochromatic
#612582 #8433B2 #A254CE #BC84DC #D6B3E9

Accessibility & contrast

On white

4.47
#A254CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#A254CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A254CE
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A254CE#FFFFFF#000000##000000
##A254CE1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2973D2
Deuteranopia (green-blind)
#4A79CB
Tritanopia (blue-blind)
#9D6A89
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a254ce;
/* rgb */ color: rgb(162, 84, 206);
/* oklch */ color: oklch(59.2% 0.189 311.5);
Tailwind
colors: {
  custom: {
    50: '#c188dd',
    500: '#a254ce',
    950: '#000000',
  },
}
SCSS
$custom: #a254ce;
$custom-light: #c188dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a254ce",
  "rgb": {
    "r": 162,
    "g": 84,
    "b": 206
  },
  "hsl": {
    "h": 278.361,
    "s": 55.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.59207,
    "c": 0.1891,
    "h": 311.5
  },
  "luminance": 0.18478
}

Semantic roles & 50–950 ramp

primary
#A254CE
secondary
#B8D8A6
accent
#DF497F
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A254CE

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

Preview Lab → · Contrast checker → · Palette generator →

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