#A255DB#A255DB

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

Color values

HEX#A255DB
RGBrgb(162, 85, 219)
HSLhsl(274, 65%, 60%)
HSVhsv(274, 61%, 86%)
CMYKcmyk(26%, 61.2%, 0%, 14.1%)
CIE-LABlab(51.03, 55.01, -56.30)
CIE-LCHlch(51.03, 78.71, 314.33°)
OKLaboklab(60.15% 0.1239 -0.1589)
OKLCHoklch(60.15% 0.202 307.9)
XYZxyz(30.9324, 19.2933, 69.0985)
Luminance0.1929 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A255DB #8EDB55
analogous
#5F55DB #A255DB #DB55D1
triadic
#A255DB #DBA255 #55DBA2
tetradic
#A255DB #DB5F55 #8EDB55 #55D1DB
square
#A255DB #DB5F55 #8EDB55 #55D1DB
split-complementary
#A255DB #D1DB55 #55DB5F
monochromatic
#642096 #852AC8 #A255DB #BE88E6 #D9BAF0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A255DB#FFFFFF#000000##000000
##A255DB1.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)
#1177DF
Deuteranopia (green-blind)
#3F7AD8
Tritanopia (blue-blind)
#997090
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a255db;
/* rgb */ color: rgb(162, 85, 219);
/* oklch */ color: oklch(60.2% 0.202 307.9);
Tailwind
colors: {
  custom: {
    50: '#c189e7',
    500: '#a255db',
    950: '#000000',
  },
}
SCSS
$custom: #a255db;
$custom-light: #c189e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a255db",
  "rgb": {
    "r": 162,
    "g": 85,
    "b": 219
  },
  "hsl": {
    "h": 274.478,
    "s": 65.049,
    "l": 59.608
  },
  "oklch": {
    "l": 0.60151,
    "c": 0.20151,
    "h": 307.9
  },
  "luminance": 0.19293
}

Semantic roles & 50–950 ramp

primary
#A255DB
secondary
#C2E0AC
accent
#E84087
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A255DB

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

Preview Lab → · Contrast checker → · Palette generator →

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