#A255CA#A255CA

#A255CA is a mid, vivid violet. Relative luminance 0.184; OKLCH L 59.1% C 0.183 H 312.5°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#A255CA
RGBrgb(162, 85, 202)
HSLhsl(279, 52%, 56%)
HSVhsv(279, 58%, 79%)
CMYKcmyk(19.8%, 57.9%, 0%, 20.8%)
CIE-LABlab(50.03, 51.25, -48.20)
CIE-LCHlch(50.03, 70.35, 316.76°)
OKLaboklab(59.1% 0.1239 -0.1352)
OKLCHoklch(59.1% 0.183 312.5)
XYZxyz(28.8076, 18.4434, 57.9081)
Luminance0.1844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A255CA #7DCA55
analogous
#6855CA #A255CA #CA55B8
triadic
#A255CA #CAA255 #55CAA2
tetradic
#A255CA #CA6855 #7DCA55 #55B8CA
square
#A255CA #CA6855 #7DCA55 #55B8CA
split-complementary
#A255CA #B8CA55 #55CA68
monochromatic
#60277D #8436AC #A255CA #BC84D9 #D5B2E7

Accessibility & contrast

On white

4.48
#A255CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#A255CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A255CA
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A255CA#FFFFFF#000000##000000
##A255CA1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3073CE
Deuteranopia (green-blind)
#4E79C7
Tritanopia (blue-blind)
#9E6A87
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a255ca;
/* rgb */ color: rgb(162, 85, 202);
/* oklch */ color: oklch(59.1% 0.183 312.5);
Tailwind
colors: {
  custom: {
    50: '#c088db',
    500: '#a255ca',
    950: '#000000',
  },
}
SCSS
$custom: #a255ca;
$custom-light: #c088db;
$custom-dark: #000000;
JSON
{
  "hex": "#a255ca",
  "rgb": {
    "r": 162,
    "g": 85,
    "b": 202
  },
  "hsl": {
    "h": 279.487,
    "s": 52.466,
    "l": 56.275
  },
  "oklch": {
    "l": 0.59103,
    "c": 0.18336,
    "h": 312.5
  },
  "luminance": 0.18443
}

Semantic roles & 50–950 ramp

primary
#A255CA
secondary
#B6D5A5
accent
#DC4C7D
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A255CA

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

Preview Lab → · Contrast checker → · Palette generator →

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