#A255E2#A255E2

#A255E2 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.6% C 0.209 H 306.3°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#A255E2
RGBrgb(162, 85, 226)
HSLhsl(273, 71%, 61%)
HSVhsv(273, 62%, 89%)
CMYKcmyk(28.3%, 62.4%, 0%, 11.4%)
CIE-LABlab(51.46, 56.59, -59.57)
CIE-LCHlch(51.46, 82.17, 313.53°)
OKLaboklab(60.6% 0.1236 -0.1685)
OKLCHoklch(60.6% 0.209 306.3)
XYZxyz(31.8733, 19.6697, 74.0543)
Luminance0.1967 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A255E2 #95E255
analogous
#5B55E2 #A255E2 #E255DB
triadic
#A255E2 #E2A255 #55E2A2
tetradic
#A255E2 #E25B55 #95E255 #55DBE2
square
#A255E2 #E25B55 #95E255 #55DBE2
split-complementary
#A255E2 #DBE255 #55E25B
monochromatic
#641BA1 #8524D5 #A255E2 #BF89EB #DBBEF4

Accessibility & contrast

On white

4.26
#A255E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#A255E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A255E2
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A255E2#FFFFFF#000000##000000
##A255E21.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E6
Deuteranopia (green-blind)
#367BDF
Tritanopia (blue-blind)
#977294
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a255e2;
/* rgb */ color: rgb(162, 85, 226);
/* oklch */ color: oklch(60.6% 0.209 306.3);
Tailwind
colors: {
  custom: {
    50: '#c289ec',
    500: '#a255e2',
    950: '#000000',
  },
}
SCSS
$custom: #a255e2;
$custom-light: #c289ec;
$custom-dark: #000000;
JSON
{
  "hex": "#a255e2",
  "rgb": {
    "r": 162,
    "g": 85,
    "b": 226
  },
  "hsl": {
    "h": 272.766,
    "s": 70.854,
    "l": 60.98
  },
  "oklch": {
    "l": 0.60604,
    "c": 0.20899,
    "h": 306.3
  },
  "luminance": 0.19669
}

Semantic roles & 50–950 ramp

primary
#A255E2
secondary
#C7E4AF
accent
#D3136A
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A255E2

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

Preview Lab → · Contrast checker → · Palette generator →

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