#A255EF#A255EF

#A255EF is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.5% C 0.223 H 303.4°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#A255EF
RGBrgb(162, 85, 239)
HSLhsl(270, 83%, 64%)
HSVhsv(270, 64%, 94%)
CMYKcmyk(32.2%, 64.4%, 0%, 6.3%)
CIE-LABlab(52.30, 59.59, -65.53)
CIE-LCHlch(52.30, 88.58, 312.28°)
OKLaboklab(61.47% 0.1227 -0.186)
OKLCHoklch(61.47% 0.223 303.4)
XYZxyz(33.7252, 20.4104, 83.8075)
Luminance0.2041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A255EF #A2EF55
analogous
#5555EF #A255EF #EF55EF
triadic
#A255EF #EFA255 #55EFA2
tetradic
#A255EF #EF5555 #A2EF55 #55EFEF
square
#A255EF #EF5555 #A2EF55 #55EFEF
split-complementary
#A255EF #EFEF55 #55EF55
monochromatic
#6511B8 #831DEA #A255EF #C18DF4 #DFC5FA

Accessibility & contrast

On white

4.13
#A255EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#A255EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A255EF
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A255EF#FFFFFF#000000##000000
##A255EF1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF4
Deuteranopia (green-blind)
#207CEC
Tritanopia (blue-blind)
#93779B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a255ef;
/* rgb */ color: rgb(162, 85, 239);
/* oklch */ color: oklch(61.5% 0.223 303.4);
Tailwind
colors: {
  custom: {
    50: '#c389f5',
    500: '#a255ef',
    950: '#000000',
  },
}
SCSS
$custom: #a255ef;
$custom-light: #c389f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a255ef",
  "rgb": {
    "r": 162,
    "g": 85,
    "b": 239
  },
  "hsl": {
    "h": 270,
    "s": 82.796,
    "l": 63.529
  },
  "oklch": {
    "l": 0.61474,
    "c": 0.22286,
    "h": 303.4
  },
  "luminance": 0.2041
}

Semantic roles & 50–950 ramp

primary
#A255EF
secondary
#D0EBB5
accent
#DF0673
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #A255EF

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

Preview Lab → · Contrast checker → · Palette generator →

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