#A255E8#A255E8

#A255E8 is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 61.0% C 0.215 H 304.9°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#A255E8
RGBrgb(162, 85, 232)
HSLhsl(271, 76%, 62%)
HSVhsv(271, 63%, 91%)
CMYKcmyk(30.2%, 63.4%, 0%, 9%)
CIE-LABlab(51.84, 57.97, -62.34)
CIE-LCHlch(51.84, 85.13, 312.92°)
OKLaboklab(61% 0.1233 -0.1766)
OKLCHoklch(61% 0.215 304.9)
XYZxyz(32.7111, 20.0048, 78.4663)
Luminance0.2001 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A255E8 #9BE855
analogous
#5955E8 #A255E8 #E855E4
triadic
#A255E8 #E8A255 #55E8A2
tetradic
#A255E8 #E85955 #9BE855 #55E4E8
square
#A255E8 #E85955 #9BE855 #55E4E8
split-complementary
#A255E8 #E4E855 #55E859
monochromatic
#6517AB #851FE1 #A255E8 #BF8BEF #DDC1F7

Accessibility & contrast

On white

4.20
#A255E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#A255E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A255E8
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A255E8#FFFFFF#000000##000000
##A255E81.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079ED
Deuteranopia (green-blind)
#2E7CE5
Tritanopia (blue-blind)
#957497
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a255e8;
/* rgb */ color: rgb(162, 85, 232);
/* oklch */ color: oklch(61.0% 0.215 304.9);
Tailwind
colors: {
  custom: {
    50: '#c289f0',
    500: '#a255e8',
    950: '#000000',
  },
}
SCSS
$custom: #a255e8;
$custom-light: #c289f0;
$custom-dark: #000000;
JSON
{
  "hex": "#a255e8",
  "rgb": {
    "r": 162,
    "g": 85,
    "b": 232
  },
  "hsl": {
    "h": 271.429,
    "s": 76.166,
    "l": 62.157
  },
  "oklch": {
    "l": 0.61001,
    "c": 0.2154,
    "h": 304.9
  },
  "luminance": 0.20005
}

Semantic roles & 50–950 ramp

primary
#A255E8
secondary
#CBE7B1
accent
#D80D6E
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A255E8

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

Preview Lab → · Contrast checker → · Palette generator →

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