#A255D2#A255D2

#A255D2 is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.6% C 0.192 H 310.3°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#A255D2
RGBrgb(162, 85, 210)
HSLhsl(277, 58%, 58%)
HSVhsv(277, 60%, 82%)
CMYKcmyk(22.9%, 59.5%, 0%, 17.6%)
CIE-LABlab(50.49, 53.00, -52.04)
CIE-LCHlch(50.49, 74.28, 315.52°)
OKLaboklab(59.59% 0.124 -0.1464)
OKLCHoklch(59.59% 0.192 310.3)
XYZxyz(29.7794, 18.8321, 63.0265)
Luminance0.1883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A255D2 #85D255
analogous
#6355D2 #A255D2 #D255C4
triadic
#A255D2 #D2A255 #55D2A2
tetradic
#A255D2 #D26355 #85D255 #55C4D2
square
#A255D2 #D26355 #85D255 #55C4D2
split-complementary
#A255D2 #C4D255 #55D263
monochromatic
#622488 #8531B9 #A255D2 #BC85DF #D7B6EC

Accessibility & contrast

On white

4.41
#A255D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#A255D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A255D2
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A255D2#FFFFFF#000000##000000
##A255D21.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2575D6
Deuteranopia (green-blind)
#4879CF
Tritanopia (blue-blind)
#9C6C8C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a255d2;
/* rgb */ color: rgb(162, 85, 210);
/* oklch */ color: oklch(59.6% 0.192 310.3);
Tailwind
colors: {
  custom: {
    50: '#c189e0',
    500: '#a255d2',
    950: '#000000',
  },
}
SCSS
$custom: #a255d2;
$custom-light: #c189e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a255d2",
  "rgb": {
    "r": 162,
    "g": 85,
    "b": 210
  },
  "hsl": {
    "h": 276.96,
    "s": 58.14,
    "l": 57.843
  },
  "oklch": {
    "l": 0.59587,
    "c": 0.19189,
    "h": 310.3
  },
  "luminance": 0.18832
}

Semantic roles & 50–950 ramp

primary
#A255D2
secondary
#BCDAA8
accent
#E14682
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A255D2

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

Preview Lab → · Contrast checker → · Palette generator →

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