#A255D6#A255D6

#A255D6 is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.8% C 0.196 H 309.2°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#A255D6
RGBrgb(162, 85, 214)
HSLhsl(276, 61%, 59%)
HSVhsv(276, 60%, 84%)
CMYKcmyk(24.3%, 60.3%, 0%, 16.1%)
CIE-LABlab(50.73, 53.89, -53.94)
CIE-LCHlch(50.73, 76.25, 314.97°)
OKLaboklab(59.84% 0.124 -0.152)
OKLCHoklch(59.84% 0.196 309.2)
XYZxyz(30.2840, 19.0339, 65.6839)
Luminance0.1903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A255D6 #89D655
analogous
#6155D6 #A255D6 #D655C9
triadic
#A255D6 #D6A255 #55D6A2
tetradic
#A255D6 #D66155 #89D655 #55C9D6
square
#A255D6 #D66155 #89D655 #55C9D6
split-complementary
#A255D6 #C9D655 #55D661
monochromatic
#63228E #852EC0 #A255D6 #BD86E2 #D8B8EE

Accessibility & contrast

On white

4.37
#A255D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#A255D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A255D6
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A255D6#FFFFFF#000000##000000
##A255D61.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E75DA
Deuteranopia (green-blind)
#447AD3
Tritanopia (blue-blind)
#9B6E8E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a255d6;
/* rgb */ color: rgb(162, 85, 214);
/* oklch */ color: oklch(59.8% 0.196 309.2);
Tailwind
colors: {
  custom: {
    50: '#c189e3',
    500: '#a255d6',
    950: '#000000',
  },
}
SCSS
$custom: #a255d6;
$custom-light: #c189e3;
$custom-dark: #000000;
JSON
{
  "hex": "#a255d6",
  "rgb": {
    "r": 162,
    "g": 85,
    "b": 214
  },
  "hsl": {
    "h": 275.814,
    "s": 61.137,
    "l": 58.627
  },
  "oklch": {
    "l": 0.59835,
    "c": 0.19616,
    "h": 309.2
  },
  "luminance": 0.19033
}

Semantic roles & 50–950 ramp

primary
#A255D6
secondary
#BEDDAA
accent
#E44484
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C15
muted
#827D84

Preview Lab

Preview with #A255D6

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

Preview Lab → · Contrast checker → · Palette generator →

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