#A255CC#A255CC

#A255CC is a mid, vivid violet. Relative luminance 0.185; OKLCH L 59.2% C 0.185 H 311.9°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#A255CC
RGBrgb(162, 85, 204)
HSLhsl(279, 54%, 57%)
HSVhsv(279, 58%, 80%)
CMYKcmyk(20.6%, 58.3%, 0%, 20%)
CIE-LABlab(50.14, 51.69, -49.16)
CIE-LCHlch(50.14, 71.33, 316.43°)
OKLaboklab(59.22% 0.1239 -0.138)
OKLCHoklch(59.22% 0.185 311.9)
XYZxyz(29.0459, 18.5387, 59.1633)
Luminance0.1854 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A255CC #7FCC55
analogous
#6755CC #A255CC #CC55BA
triadic
#A255CC #CCA255 #55CCA2
tetradic
#A255CC #CC6755 #7FCC55 #55BACC
square
#A255CC #CC6755 #7FCC55 #55BACC
split-complementary
#A255CC #BACC55 #55CC67
monochromatic
#602680 #8435AF #A255CC #BC84DA #D6B3E8

Accessibility & contrast

On white

4.46
#A255CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#A255CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A255CC
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A255CC#FFFFFF#000000##000000
##A255CC1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E73D0
Deuteranopia (green-blind)
#4D79C9
Tritanopia (blue-blind)
#9D6A88
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a255cc;
/* rgb */ color: rgb(162, 85, 204);
/* oklch */ color: oklch(59.2% 0.185 311.9);
Tailwind
colors: {
  custom: {
    50: '#c088dc',
    500: '#a255cc',
    950: '#000000',
  },
}
SCSS
$custom: #a255cc;
$custom-light: #c088dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a255cc",
  "rgb": {
    "r": 162,
    "g": 85,
    "b": 204
  },
  "hsl": {
    "h": 278.824,
    "s": 53.846,
    "l": 56.667
  },
  "oklch": {
    "l": 0.59222,
    "c": 0.18549,
    "h": 311.9
  },
  "luminance": 0.18538
}

Semantic roles & 50–950 ramp

primary
#A255CC
secondary
#B7D7A6
accent
#DD4B7E
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A255CC

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

Preview Lab → · Contrast checker → · Palette generator →

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