#A255CB#A255CB

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

Color values

HEX#A255CB
RGBrgb(162, 85, 203)
HSLhsl(279, 53%, 56%)
HSVhsv(279, 58%, 80%)
CMYKcmyk(20.2%, 58.1%, 0%, 20.4%)
CIE-LABlab(50.09, 51.47, -48.68)
CIE-LCHlch(50.09, 70.84, 316.59°)
OKLaboklab(59.16% 0.1239 -0.1366)
OKLCHoklch(59.16% 0.184 312.2)
XYZxyz(28.9264, 18.4909, 58.5336)
Luminance0.1849 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A255CB #7ECB55
analogous
#6755CB #A255CB #CB55B9
triadic
#A255CB #CBA255 #55CBA2
tetradic
#A255CB #CB6755 #7ECB55 #55B9CB
square
#A255CB #CB6755 #7ECB55 #55B9CB
split-complementary
#A255CB #B9CB55 #55CB67
monochromatic
#60277F #8435AE #A255CB #BC84D9 #D5B3E8

Accessibility & contrast

On white

4.47
#A255CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#A255CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A255CB
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A255CB#FFFFFF#000000##000000
##A255CB1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F73CF
Deuteranopia (green-blind)
#4D79C8
Tritanopia (blue-blind)
#9E6A88
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a255cb;
/* rgb */ color: rgb(162, 85, 203);
/* oklch */ color: oklch(59.2% 0.184 312.2);
Tailwind
colors: {
  custom: {
    50: '#c088db',
    500: '#a255cb',
    950: '#000000',
  },
}
SCSS
$custom: #a255cb;
$custom-light: #c088db;
$custom-dark: #000000;
JSON
{
  "hex": "#a255cb",
  "rgb": {
    "r": 162,
    "g": 85,
    "b": 203
  },
  "hsl": {
    "h": 279.153,
    "s": 53.153,
    "l": 56.471
  },
  "oklch": {
    "l": 0.59162,
    "c": 0.18443,
    "h": 312.2
  },
  "luminance": 0.1849
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A255CB

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

Preview Lab → · Contrast checker → · Palette generator →

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