#A255CE#A255CE

#A255CE is a mid, vivid violet. Relative luminance 0.186; OKLCH L 59.3% C 0.188 H 311.4°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#A255CE
RGBrgb(162, 85, 206)
HSLhsl(278, 55%, 57%)
HSVhsv(278, 59%, 81%)
CMYKcmyk(21.4%, 58.7%, 0%, 19.2%)
CIE-LABlab(50.26, 52.12, -50.13)
CIE-LCHlch(50.26, 72.31, 316.12°)
OKLaboklab(59.34% 0.124 -0.1408)
OKLCHoklch(59.34% 0.188 311.4)
XYZxyz(29.2873, 18.6353, 60.4347)
Luminance0.1863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A255CE #81CE55
analogous
#6655CE #A255CE #CE55BD
triadic
#A255CE #CEA255 #55CEA2
tetradic
#A255CE #CE6655 #81CE55 #55BDCE
square
#A255CE #CE6655 #81CE55 #55BDCE
split-complementary
#A255CE #BDCE55 #55CE66
monochromatic
#612683 #8433B2 #A255CE #BC85DC #D6B4E9

Accessibility & contrast

On white

4.44
#A255CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#A255CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A255CE
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A255CE#FFFFFF#000000##000000
##A255CE1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B74D2
Deuteranopia (green-blind)
#4B79CB
Tritanopia (blue-blind)
#9D6B89
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a255ce;
/* rgb */ color: rgb(162, 85, 206);
/* oklch */ color: oklch(59.3% 0.188 311.4);
Tailwind
colors: {
  custom: {
    50: '#c188dd',
    500: '#a255ce',
    950: '#000000',
  },
}
SCSS
$custom: #a255ce;
$custom-light: #c188dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a255ce",
  "rgb": {
    "r": 162,
    "g": 85,
    "b": 206
  },
  "hsl": {
    "h": 278.182,
    "s": 55.251,
    "l": 57.059
  },
  "oklch": {
    "l": 0.59343,
    "c": 0.18762,
    "h": 311.4
  },
  "luminance": 0.18635
}

Semantic roles & 50–950 ramp

primary
#A255CE
secondary
#B9D8A7
accent
#DF4980
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A255CE

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

Preview Lab → · Contrast checker → · Palette generator →

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