#A255E0#A255E0

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

Color values

HEX#A255E0
RGBrgb(162, 85, 224)
HSLhsl(273, 69%, 61%)
HSVhsv(273, 62%, 88%)
CMYKcmyk(27.7%, 62.1%, 0%, 12.2%)
CIE-LABlab(51.34, 56.14, -58.64)
CIE-LCHlch(51.34, 81.18, 313.75°)
OKLaboklab(60.47% 0.1237 -0.1658)
OKLCHoklch(60.47% 0.207 306.7)
XYZxyz(31.6005, 19.5605, 72.6174)
Luminance0.1956 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A255E0 #93E055
analogous
#5C55E0 #A255E0 #E055D9
triadic
#A255E0 #E0A255 #55E0A2
tetradic
#A255E0 #E05C55 #93E055 #55D9E0
square
#A255E0 #E05C55 #93E055 #55D9E0
split-complementary
#A255E0 #D9E055 #55E05C
monochromatic
#641D9E #8526D2 #A255E0 #BE89E9 #DBBDF3

Accessibility & contrast

On white

4.28
#A255E0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#A255E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A255E0
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A255E0#FFFFFF#000000##000000
##A255E01.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E4
Deuteranopia (green-blind)
#397BDD
Tritanopia (blue-blind)
#987193
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a255e0;
/* rgb */ color: rgb(162, 85, 224);
/* oklch */ color: oklch(60.5% 0.207 306.7);
Tailwind
colors: {
  custom: {
    50: '#c289ea',
    500: '#a255e0',
    950: '#000000',
  },
}
SCSS
$custom: #a255e0;
$custom-light: #c289ea;
$custom-dark: #000000;
JSON
{
  "hex": "#a255e0",
  "rgb": {
    "r": 162,
    "g": 85,
    "b": 224
  },
  "hsl": {
    "h": 273.237,
    "s": 69.154,
    "l": 60.588
  },
  "oklch": {
    "l": 0.60473,
    "c": 0.20685,
    "h": 306.7
  },
  "luminance": 0.1956
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A255E0

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

Preview Lab → · Contrast checker → · Palette generator →

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