#A254C8#A254C8

#A254C8 is a mid, vivid purple. Relative luminance 0.182; OKLCH L 58.8% C 0.183 H 313.2°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#A254C8
RGBrgb(162, 84, 200)
HSLhsl(280, 51%, 56%)
HSVhsv(280, 58%, 78%)
CMYKcmyk(19%, 58%, 0%, 21.6%)
CIE-LABlab(49.73, 51.32, -47.53)
CIE-LCHlch(49.73, 69.95, 317.20°)
OKLaboklab(58.85% 0.1251 -0.1332)
OKLCHoklch(58.85% 0.183 313.2)
XYZxyz(28.4942, 18.1929, 56.6430)
Luminance0.1819 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A254C8 #7AC854
analogous
#6854C8 #A254C8 #C854B4
triadic
#A254C8 #C8A254 #54C8A2
tetradic
#A254C8 #C86854 #7AC854 #54B4C8
square
#A254C8 #C86854 #7AC854 #54B4C8
split-complementary
#A254C8 #B4C854 #54C868
monochromatic
#5F277A #8336A9 #A254C8 #BB82D7 #D4B1E6

Accessibility & contrast

On white

4.53
#A254C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#A254C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A254C8
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A254C8#FFFFFF#000000##000000
##A254C81.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3072CC
Deuteranopia (green-blind)
#4F78C5
Tritanopia (blue-blind)
#9E6886
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a254c8;
/* rgb */ color: rgb(162, 84, 200);
/* oklch */ color: oklch(58.8% 0.183 313.2);
Tailwind
colors: {
  custom: {
    50: '#c088d9',
    500: '#a254c8',
    950: '#000000',
  },
}
SCSS
$custom: #a254c8;
$custom-light: #c088d9;
$custom-dark: #000000;
JSON
{
  "hex": "#a254c8",
  "rgb": {
    "r": 162,
    "g": 84,
    "b": 200
  },
  "hsl": {
    "h": 280.345,
    "s": 51.327,
    "l": 55.686
  },
  "oklch": {
    "l": 0.58847,
    "c": 0.18275,
    "h": 313.2
  },
  "luminance": 0.18192
}

Semantic roles & 50–950 ramp

primary
#A254C8
secondary
#B4D4A4
accent
#DB4D7B
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C15
muted
#827D83

Preview Lab

Preview with #A254C8

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

Preview Lab → · Contrast checker → · Palette generator →

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