#A255E5#A255E5

#A255E5 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.8% C 0.212 H 305.6°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#A255E5
RGBrgb(162, 85, 229)
HSLhsl(272, 73%, 62%)
HSVhsv(272, 63%, 90%)
CMYKcmyk(29.3%, 62.9%, 0%, 10.2%)
CIE-LABlab(51.65, 57.28, -60.96)
CIE-LCHlch(51.65, 83.65, 313.22°)
OKLaboklab(60.8% 0.1234 -0.1726)
OKLCHoklch(60.8% 0.212 305.6)
XYZxyz(32.2886, 19.8358, 76.2412)
Luminance0.1984 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A255E5 #98E555
analogous
#5A55E5 #A255E5 #E555E0
triadic
#A255E5 #E5A255 #55E5A2
tetradic
#A255E5 #E55A55 #98E555 #55E0E5
square
#A255E5 #E55A55 #98E555 #55E0E5
split-complementary
#A255E5 #E0E555 #55E55A
monochromatic
#6519A6 #8522DB #A255E5 #BF8AED #DCBFF5

Accessibility & contrast

On white

4.23
#A255E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#A255E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A255E5
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A255E5#FFFFFF#000000##000000
##A255E51.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E9
Deuteranopia (green-blind)
#327BE2
Tritanopia (blue-blind)
#967395
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a255e5;
/* rgb */ color: rgb(162, 85, 229);
/* oklch */ color: oklch(60.8% 0.212 305.6);
Tailwind
colors: {
  custom: {
    50: '#c289ee',
    500: '#a255e5',
    950: '#000000',
  },
}
SCSS
$custom: #a255e5;
$custom-light: #c289ee;
$custom-dark: #000000;
JSON
{
  "hex": "#a255e5",
  "rgb": {
    "r": 162,
    "g": 85,
    "b": 229
  },
  "hsl": {
    "h": 272.083,
    "s": 73.469,
    "l": 61.569
  },
  "oklch": {
    "l": 0.60801,
    "c": 0.2122,
    "h": 305.6
  },
  "luminance": 0.19836
}

Semantic roles & 50–950 ramp

primary
#A255E5
secondary
#C9E6B0
accent
#D6106C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A255E5

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

Preview Lab → · Contrast checker → · Palette generator →

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