#A255D9#A255D9

#A255D9 is a mid, vivid violet. Relative luminance 0.192; OKLCH L 60.0% C 0.199 H 308.4°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#A255D9
RGBrgb(162, 85, 217)
HSLhsl(275, 63%, 59%)
HSVhsv(275, 61%, 85%)
CMYKcmyk(25.3%, 60.8%, 0%, 14.9%)
CIE-LABlab(50.91, 54.56, -55.36)
CIE-LCHlch(50.91, 77.73, 314.58°)
OKLaboklab(60.02% 0.1239 -0.1562)
OKLCHoklch(60.02% 0.199 308.4)
XYZxyz(30.6707, 19.1886, 67.7202)
Luminance0.1919 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A255D9 #8CD955
analogous
#6055D9 #A255D9 #D955CE
triadic
#A255D9 #D9A255 #55D9A2
tetradic
#A255D9 #D96055 #8CD955 #55CED9
square
#A255D9 #D96055 #8CD955 #55CED9
split-complementary
#A255D9 #CED955 #55D960
monochromatic
#632193 #852CC5 #A255D9 #BD87E4 #D9B9EF

Accessibility & contrast

On white

4.34
#A255D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#A255D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A255D9
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A255D9#FFFFFF#000000##000000
##A255D91.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1776DD
Deuteranopia (green-blind)
#417AD6
Tritanopia (blue-blind)
#9A6F8F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a255d9;
/* rgb */ color: rgb(162, 85, 217);
/* oklch */ color: oklch(60.0% 0.199 308.4);
Tailwind
colors: {
  custom: {
    50: '#c189e5',
    500: '#a255d9',
    950: '#000000',
  },
}
SCSS
$custom: #a255d9;
$custom-light: #c189e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a255d9",
  "rgb": {
    "r": 162,
    "g": 85,
    "b": 217
  },
  "hsl": {
    "h": 275,
    "s": 63.462,
    "l": 59.216
  },
  "oklch": {
    "l": 0.60024,
    "c": 0.19937,
    "h": 308.4
  },
  "luminance": 0.19188
}

Semantic roles & 50–950 ramp

primary
#A255D9
secondary
#C1DFAB
accent
#E64186
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A255D9

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

Preview Lab → · Contrast checker → · Palette generator →

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