#A255E6#A255E6

#A255E6 is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.9% C 0.213 H 305.3°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#A255E6
RGBrgb(162, 85, 230)
HSLhsl(272, 74%, 62%)
HSVhsv(272, 63%, 90%)
CMYKcmyk(29.6%, 63%, 0%, 9.8%)
CIE-LABlab(51.71, 57.51, -61.42)
CIE-LCHlch(51.71, 84.14, 313.12°)
OKLaboklab(60.87% 0.1234 -0.1739)
OKLCHoklch(60.87% 0.213 305.3)
XYZxyz(32.4286, 19.8918, 76.9787)
Luminance0.1989 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A255E6 #99E655
analogous
#5A55E6 #A255E6 #E655E2
triadic
#A255E6 #E6A255 #55E6A2
tetradic
#A255E6 #E65A55 #99E655 #55E2E6
square
#A255E6 #E65A55 #99E655 #55E2E6
split-complementary
#A255E6 #E2E655 #55E65A
monochromatic
#6519A8 #8521DD #A255E6 #BF8AEE #DCC0F6

Accessibility & contrast

On white

4.22
#A255E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#A255E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A255E6
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A255E6#FFFFFF#000000##000000
##A255E61.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EA
Deuteranopia (green-blind)
#317BE3
Tritanopia (blue-blind)
#967396
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a255e6;
/* rgb */ color: rgb(162, 85, 230);
/* oklch */ color: oklch(60.9% 0.213 305.3);
Tailwind
colors: {
  custom: {
    50: '#c289ef',
    500: '#a255e6',
    950: '#000000',
  },
}
SCSS
$custom: #a255e6;
$custom-light: #c289ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a255e6",
  "rgb": {
    "r": 162,
    "g": 85,
    "b": 230
  },
  "hsl": {
    "h": 271.862,
    "s": 74.359,
    "l": 61.765
  },
  "oklch": {
    "l": 0.60867,
    "c": 0.21326,
    "h": 305.3
  },
  "luminance": 0.19892
}

Semantic roles & 50–950 ramp

primary
#A255E6
secondary
#CAE6B1
accent
#D60F6D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A255E6

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

Preview Lab → · Contrast checker → · Palette generator →

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