#A255E1#A255E1

#A255E1 is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.5% C 0.208 H 306.5°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#A255E1
RGBrgb(162, 85, 225)
HSLhsl(273, 70%, 61%)
HSVhsv(273, 62%, 88%)
CMYKcmyk(28%, 62.2%, 0%, 11.8%)
CIE-LABlab(51.40, 56.37, -59.11)
CIE-LCHlch(51.40, 81.67, 313.64°)
OKLaboklab(60.54% 0.1237 -0.1672)
OKLCHoklch(60.54% 0.208 306.5)
XYZxyz(31.7365, 19.6149, 73.3337)
Luminance0.1961 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A255E1 #94E155
analogous
#5C55E1 #A255E1 #E155DA
triadic
#A255E1 #E1A255 #55E1A2
tetradic
#A255E1 #E15C55 #94E155 #55DAE1
square
#A255E1 #E15C55 #94E155 #55DAE1
split-complementary
#A255E1 #DAE155 #55E15C
monochromatic
#641C9F #8525D3 #A255E1 #BE89EA #DBBDF3

Accessibility & contrast

On white

4.27
#A255E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#A255E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A255E1
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A255E1#FFFFFF#000000##000000
##A255E11.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E5
Deuteranopia (green-blind)
#387BDE
Tritanopia (blue-blind)
#987293
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a255e1;
/* rgb */ color: rgb(162, 85, 225);
/* oklch */ color: oklch(60.5% 0.208 306.5);
Tailwind
colors: {
  custom: {
    50: '#c289eb',
    500: '#a255e1',
    950: '#000000',
  },
}
SCSS
$custom: #a255e1;
$custom-light: #c289eb;
$custom-dark: #000000;
JSON
{
  "hex": "#a255e1",
  "rgb": {
    "r": 162,
    "g": 85,
    "b": 225
  },
  "hsl": {
    "h": 273,
    "s": 70,
    "l": 60.784
  },
  "oklch": {
    "l": 0.60538,
    "c": 0.20792,
    "h": 306.5
  },
  "luminance": 0.19615
}

Semantic roles & 50–950 ramp

primary
#A255E1
secondary
#C6E3AE
accent
#D21469
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A255E1

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

Preview Lab → · Contrast checker → · Palette generator →

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