#A254DE#A254DE

#A254DE is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.2% C 0.206 H 307.3°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#A254DE
RGBrgb(162, 84, 222)
HSLhsl(274, 68%, 60%)
HSVhsv(274, 62%, 87%)
CMYKcmyk(27%, 62.2%, 0%, 12.9%)
CIE-LABlab(51.03, 56.18, -58.00)
CIE-LCHlch(51.03, 80.74, 314.08°)
OKLaboklab(60.21% 0.125 -0.1639)
OKLCHoklch(60.21% 0.206 307.3)
XYZxyz(31.2527, 19.2963, 71.1712)
Luminance0.1930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A254DE #90DE54
analogous
#5D54DE #A254DE #DE54D5
triadic
#A254DE #DEA254 #54DEA2
tetradic
#A254DE #DE5D54 #90DE54 #54D5DE
square
#A254DE #DE5D54 #90DE54 #54D5DE
split-complementary
#A254DE #D5DE54 #54DE5D
monochromatic
#641E9A #8528CD #A254DE #BE87E8 #DABBF2

Accessibility & contrast

On white

4.32
#A254DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#A254DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A254DE
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A254DE#FFFFFF#000000##000000
##A254DE1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E2
Deuteranopia (green-blind)
#3A7ADB
Tritanopia (blue-blind)
#987091
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a254de;
/* rgb */ color: rgb(162, 84, 222);
/* oklch */ color: oklch(60.2% 0.206 307.3);
Tailwind
colors: {
  custom: {
    50: '#c188e9',
    500: '#a254de',
    950: '#000000',
  },
}
SCSS
$custom: #a254de;
$custom-light: #c188e9;
$custom-dark: #000000;
JSON
{
  "hex": "#a254de",
  "rgb": {
    "r": 162,
    "g": 84,
    "b": 222
  },
  "hsl": {
    "h": 273.913,
    "s": 67.647,
    "l": 60
  },
  "oklch": {
    "l": 0.60213,
    "c": 0.2061,
    "h": 307.3
  },
  "luminance": 0.19296
}

Semantic roles & 50–950 ramp

primary
#A254DE
secondary
#C3E1AC
accent
#EB3D89
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A254DE

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

Preview Lab → · Contrast checker → · Palette generator →

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