#A255DD#A255DD

#A255DD is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.3% C 0.204 H 307.4°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#A255DD
RGBrgb(162, 85, 221)
HSLhsl(274, 67%, 60%)
HSVhsv(274, 62%, 87%)
CMYKcmyk(26.7%, 61.5%, 0%, 13.3%)
CIE-LABlab(51.15, 55.46, -57.24)
CIE-LCHlch(51.15, 79.70, 314.09°)
OKLaboklab(60.28% 0.1238 -0.1617)
OKLCHoklch(60.28% 0.204 307.4)
XYZxyz(31.1972, 19.3992, 70.4935)
Luminance0.1940 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A255DD #90DD55
analogous
#5E55DD #A255DD #DD55D4
triadic
#A255DD #DDA255 #55DDA2
tetradic
#A255DD #DD5E55 #90DD55 #55D4DD
square
#A255DD #DD5E55 #90DD55 #55D4DD
split-complementary
#A255DD #D4DD55 #55DD5E
monochromatic
#641F99 #8529CC #A255DD #BE88E7 #DABBF1

Accessibility & contrast

On white

4.30
#A255DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#A255DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A255DD
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A255DD#FFFFFF#000000##000000
##A255DD1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0877E1
Deuteranopia (green-blind)
#3D7BDA
Tritanopia (blue-blind)
#997091
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a255dd;
/* rgb */ color: rgb(162, 85, 221);
/* oklch */ color: oklch(60.3% 0.204 307.4);
Tailwind
colors: {
  custom: {
    50: '#c189e8',
    500: '#a255dd',
    950: '#000000',
  },
}
SCSS
$custom: #a255dd;
$custom-light: #c189e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a255dd",
  "rgb": {
    "r": 162,
    "g": 85,
    "b": 221
  },
  "hsl": {
    "h": 273.971,
    "s": 66.667,
    "l": 60
  },
  "oklch": {
    "l": 0.60279,
    "c": 0.20365,
    "h": 307.4
  },
  "luminance": 0.19399
}

Semantic roles & 50–950 ramp

primary
#A255DD
secondary
#C3E1AD
accent
#EA3E89
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A255DD

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

Preview Lab → · Contrast checker → · Palette generator →

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