#A255D5#A255D5

#A255D5 is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.8% C 0.195 H 309.5°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#A255D5
RGBrgb(162, 85, 213)
HSLhsl(276, 60%, 58%)
HSVhsv(276, 60%, 84%)
CMYKcmyk(23.9%, 60.1%, 0%, 16.5%)
CIE-LABlab(50.67, 53.67, -53.47)
CIE-LCHlch(50.67, 75.76, 315.10°)
OKLaboklab(59.77% 0.124 -0.1506)
OKLCHoklch(59.77% 0.195 309.5)
XYZxyz(30.1567, 18.9830, 65.0133)
Luminance0.1898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A255D5 #88D555
analogous
#6255D5 #A255D5 #D555C8
triadic
#A255D5 #D5A255 #55D5A2
tetradic
#A255D5 #D56255 #88D555 #55C8D5
square
#A255D5 #D56255 #88D555 #55C8D5
split-complementary
#A255D5 #C8D555 #55D562
monochromatic
#63238D #852FBE #A255D5 #BD86E1 #D8B7ED

Accessibility & contrast

On white

4.38
#A255D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#A255D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A255D5
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A255D5#FFFFFF#000000##000000
##A255D51.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2075D9
Deuteranopia (green-blind)
#457AD2
Tritanopia (blue-blind)
#9B6E8D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a255d5;
/* rgb */ color: rgb(162, 85, 213);
/* oklch */ color: oklch(59.8% 0.195 309.5);
Tailwind
colors: {
  custom: {
    50: '#c189e2',
    500: '#a255d5',
    950: '#000000',
  },
}
SCSS
$custom: #a255d5;
$custom-light: #c189e2;
$custom-dark: #000000;
JSON
{
  "hex": "#a255d5",
  "rgb": {
    "r": 162,
    "g": 85,
    "b": 213
  },
  "hsl": {
    "h": 276.094,
    "s": 60.377,
    "l": 58.431
  },
  "oklch": {
    "l": 0.59773,
    "c": 0.19509,
    "h": 309.5
  },
  "luminance": 0.18982
}

Semantic roles & 50–950 ramp

primary
#A255D5
secondary
#BEDCA9
accent
#E44484
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A255D5

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

Preview Lab → · Contrast checker → · Palette generator →

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