#A255EA#A255EA

#A255EA is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 61.1% C 0.218 H 304.5°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#A255EA
RGBrgb(162, 85, 234)
HSLhsl(271, 78%, 63%)
HSVhsv(271, 64%, 92%)
CMYKcmyk(30.8%, 63.7%, 0%, 8.2%)
CIE-LABlab(51.97, 58.43, -63.26)
CIE-LCHlch(51.97, 86.11, 312.73°)
OKLaboklab(61.14% 0.1231 -0.1793)
OKLCHoklch(61.14% 0.218 304.5)
XYZxyz(32.9968, 20.1190, 79.9710)
Luminance0.2012 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A255EA #9DEA55
analogous
#5855EA #A255EA #EA55E7
triadic
#A255EA #EAA255 #55EAA2
tetradic
#A255EA #EA5855 #9DEA55 #55E7EA
square
#A255EA #EA5855 #9DEA55 #55E7EA
split-complementary
#A255EA #E7EA55 #55EA58
monochromatic
#6516AF #841FE3 #A255EA #C08BF1 #DEC2F7

Accessibility & contrast

On white

4.18
#A255EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#A255EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A255EA
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A255EA#FFFFFF#000000##000000
##A255EA1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEF
Deuteranopia (green-blind)
#2A7CE7
Tritanopia (blue-blind)
#957598
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a255ea;
/* rgb */ color: rgb(162, 85, 234);
/* oklch */ color: oklch(61.1% 0.218 304.5);
Tailwind
colors: {
  custom: {
    50: '#c289f2',
    500: '#a255ea',
    950: '#000000',
  },
}
SCSS
$custom: #a255ea;
$custom-light: #c289f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a255ea",
  "rgb": {
    "r": 162,
    "g": 85,
    "b": 234
  },
  "hsl": {
    "h": 271.007,
    "s": 78.01,
    "l": 62.549
  },
  "oklch": {
    "l": 0.61135,
    "c": 0.21754,
    "h": 304.5
  },
  "luminance": 0.20119
}

Semantic roles & 50–950 ramp

primary
#A255EA
secondary
#CCE8B2
accent
#DA0B6F
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A255EA

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

Preview Lab → · Contrast checker → · Palette generator →

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