#A255DF#A255DF

#A255DF is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.4% C 0.206 H 307.0°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#A255DF
RGBrgb(162, 85, 223)
HSLhsl(273, 68%, 60%)
HSVhsv(273, 62%, 87%)
CMYKcmyk(27.4%, 61.9%, 0%, 12.5%)
CIE-LABlab(51.27, 55.91, -58.18)
CIE-LCHlch(51.27, 80.69, 313.86°)
OKLaboklab(60.41% 0.1237 -0.1644)
OKLCHoklch(60.41% 0.206 307)
XYZxyz(31.4653, 19.5064, 71.9052)
Luminance0.1951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A255DF #92DF55
analogous
#5D55DF #A255DF #DF55D7
triadic
#A255DF #DFA255 #55DFA2
tetradic
#A255DF #DF5D55 #92DF55 #55D7DF
square
#A255DF #DF5D55 #92DF55 #55D7DF
split-complementary
#A255DF #D7DF55 #55DF5D
monochromatic
#641D9C #8527D0 #A255DF #BE89E9 #DABCF2

Accessibility & contrast

On white

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

On black

4.90
#A255DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A255DF
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A255DF#FFFFFF#000000##000000
##A255DF1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E3
Deuteranopia (green-blind)
#3A7BDC
Tritanopia (blue-blind)
#987192
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a255df;
/* rgb */ color: rgb(162, 85, 223);
/* oklch */ color: oklch(60.4% 0.206 307.0);
Tailwind
colors: {
  custom: {
    50: '#c189ea',
    500: '#a255df',
    950: '#000000',
  },
}
SCSS
$custom: #a255df;
$custom-light: #c189ea;
$custom-dark: #000000;
JSON
{
  "hex": "#a255df",
  "rgb": {
    "r": 162,
    "g": 85,
    "b": 223
  },
  "hsl": {
    "h": 273.478,
    "s": 68.317,
    "l": 60.392
  },
  "oklch": {
    "l": 0.60408,
    "c": 0.20578,
    "h": 307
  },
  "luminance": 0.19506
}

Semantic roles & 50–950 ramp

primary
#A255DF
secondary
#C5E2AE
accent
#D01568
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A255DF

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

Preview Lab → · Contrast checker → · Palette generator →

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