#A255E4#A255E4

#A255E4 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.7% C 0.211 H 305.8°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#A255E4
RGBrgb(162, 85, 228)
HSLhsl(272, 73%, 61%)
HSVhsv(272, 63%, 89%)
CMYKcmyk(28.9%, 62.7%, 0%, 10.6%)
CIE-LABlab(51.59, 57.05, -60.50)
CIE-LCHlch(51.59, 83.15, 313.32°)
OKLaboklab(60.73% 0.1235 -0.1712)
OKLCHoklch(60.73% 0.211 305.8)
XYZxyz(32.1494, 19.7801, 75.5080)
Luminance0.1978 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A255E4 #97E455
analogous
#5B55E4 #A255E4 #E455DE
triadic
#A255E4 #E4A255 #55E4A2
tetradic
#A255E4 #E45B55 #97E455 #55DEE4
square
#A255E4 #E45B55 #97E455 #55DEE4
split-complementary
#A255E4 #DEE455 #55E45B
monochromatic
#651AA4 #8523D9 #A255E4 #BF8AEC #DCBFF5

Accessibility & contrast

On white

4.24
#A255E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#A255E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A255E4
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A255E4#FFFFFF#000000##000000
##A255E41.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E8
Deuteranopia (green-blind)
#347BE1
Tritanopia (blue-blind)
#977395
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a255e4;
/* rgb */ color: rgb(162, 85, 228);
/* oklch */ color: oklch(60.7% 0.211 305.8);
Tailwind
colors: {
  custom: {
    50: '#c289ed',
    500: '#a255e4',
    950: '#000000',
  },
}
SCSS
$custom: #a255e4;
$custom-light: #c289ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a255e4",
  "rgb": {
    "r": 162,
    "g": 85,
    "b": 228
  },
  "hsl": {
    "h": 272.308,
    "s": 72.589,
    "l": 61.373
  },
  "oklch": {
    "l": 0.60735,
    "c": 0.21113,
    "h": 305.8
  },
  "luminance": 0.1978
}

Semantic roles & 50–950 ramp

primary
#A255E4
secondary
#C8E5B0
accent
#D5116B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A255E4

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

Preview Lab → · Contrast checker → · Palette generator →

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