#A255EE#A255EE

#A255EE is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.4% C 0.222 H 303.6°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#A255EE
RGBrgb(162, 85, 238)
HSLhsl(270, 82%, 63%)
HSVhsv(270, 64%, 93%)
CMYKcmyk(31.9%, 64.3%, 0%, 6.7%)
CIE-LABlab(52.23, 59.36, -65.08)
CIE-LCHlch(52.23, 88.08, 312.37°)
OKLaboklab(61.41% 0.1228 -0.1847)
OKLCHoklch(61.41% 0.222 303.6)
XYZxyz(33.5779, 20.3515, 83.0316)
Luminance0.2035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A255EE #A1EE55
analogous
#5555EE #A255EE #EE55ED
triadic
#A255EE #EEA255 #55EEA2
tetradic
#A255EE #EE5555 #A1EE55 #55EDEE
square
#A255EE #EE5555 #A1EE55 #55EDEE
split-complementary
#A255EE #EDEE55 #55EE55
monochromatic
#6512B6 #841DE8 #A255EE #C08DF4 #DFC4F9

Accessibility & contrast

On white

4.14
#A255EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#A255EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A255EE
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A255EE#FFFFFF#000000##000000
##A255EE1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF3
Deuteranopia (green-blind)
#227CEB
Tritanopia (blue-blind)
#93769A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a255ee;
/* rgb */ color: rgb(162, 85, 238);
/* oklch */ color: oklch(61.4% 0.222 303.6);
Tailwind
colors: {
  custom: {
    50: '#c289f4',
    500: '#a255ee',
    950: '#000000',
  },
}
SCSS
$custom: #a255ee;
$custom-light: #c289f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a255ee",
  "rgb": {
    "r": 162,
    "g": 85,
    "b": 238
  },
  "hsl": {
    "h": 270.196,
    "s": 81.818,
    "l": 63.333
  },
  "oklch": {
    "l": 0.61406,
    "c": 0.22179,
    "h": 303.6
  },
  "luminance": 0.20351
}

Semantic roles & 50–950 ramp

primary
#A255EE
secondary
#CFEBB4
accent
#DE0772
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #A255EE

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

Preview Lab → · Contrast checker → · Palette generator →

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