#A255DC#A255DC

#A255DC is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.2% C 0.203 H 307.7°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#A255DC
RGBrgb(162, 85, 220)
HSLhsl(274, 66%, 60%)
HSVhsv(274, 61%, 86%)
CMYKcmyk(26.4%, 61.4%, 0%, 13.7%)
CIE-LABlab(51.09, 55.23, -56.77)
CIE-LCHlch(51.09, 79.21, 314.21°)
OKLaboklab(60.22% 0.1239 -0.1603)
OKLCHoklch(60.22% 0.203 307.7)
XYZxyz(31.0644, 19.3461, 69.7940)
Luminance0.1935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A255DC #8FDC55
analogous
#5E55DC #A255DC #DC55D3
triadic
#A255DC #DCA255 #55DCA2
tetradic
#A255DC #DC5E55 #8FDC55 #55D3DC
square
#A255DC #DC5E55 #8FDC55 #55D3DC
split-complementary
#A255DC #D3DC55 #55DC5E
monochromatic
#641F97 #852ACA #A255DC #BE88E6 #DABBF1

Accessibility & contrast

On white

4.31
#A255DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#A255DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A255DC
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A255DC#FFFFFF#000000##000000
##A255DC1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D77E0
Deuteranopia (green-blind)
#3E7AD9
Tritanopia (blue-blind)
#997091
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a255dc;
/* rgb */ color: rgb(162, 85, 220);
/* oklch */ color: oklch(60.2% 0.203 307.7);
Tailwind
colors: {
  custom: {
    50: '#c189e8',
    500: '#a255dc',
    950: '#000000',
  },
}
SCSS
$custom: #a255dc;
$custom-light: #c189e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a255dc",
  "rgb": {
    "r": 162,
    "g": 85,
    "b": 220
  },
  "hsl": {
    "h": 274.222,
    "s": 65.854,
    "l": 59.804
  },
  "oklch": {
    "l": 0.60215,
    "c": 0.20258,
    "h": 307.7
  },
  "luminance": 0.19346
}

Semantic roles & 50–950 ramp

primary
#A255DC
secondary
#C3E0AC
accent
#E93F88
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A255DC

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

Preview Lab → · Contrast checker → · Palette generator →

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