#A255C2#A255C2

#A255C2 is a mid, vivid purple. Relative luminance 0.181; OKLCH L 58.6% C 0.175 H 314.9°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#A255C2
RGBrgb(162, 85, 194)
HSLhsl(282, 47%, 55%)
HSVhsv(282, 56%, 76%)
CMYKcmyk(16.5%, 56.2%, 0%, 23.9%)
CIE-LABlab(49.59, 49.54, -44.29)
CIE-LCHlch(49.59, 66.45, 318.20°)
OKLaboklab(58.64% 0.1235 -0.1238)
OKLCHoklch(58.64% 0.175 314.9)
XYZxyz(27.8848, 18.0743, 53.0483)
Luminance0.1807 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A255C2 #75C255
analogous
#6B55C2 #A255C2 #C255AC
triadic
#A255C2 #C2A255 #55C2A2
tetradic
#A255C2 #C26B55 #75C255 #55ACC2
square
#A255C2 #C26B55 #75C255 #55ACC2
split-complementary
#A255C2 #ACC255 #55C26B
monochromatic
#5E2973 #823AA0 #A255C2 #BB82D2 #D3AFE2

Accessibility & contrast

On white

4.55
#A255C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#A255C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A255C2
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A255C2#FFFFFF#000000##000000
##A255C21.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3871C6
Deuteranopia (green-blind)
#5478BF
Tritanopia (blue-blind)
#A06783
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a255c2;
/* rgb */ color: rgb(162, 85, 194);
/* oklch */ color: oklch(58.6% 0.175 314.9);
Tailwind
colors: {
  custom: {
    50: '#c088d5',
    500: '#a255c2',
    950: '#000000',
  },
}
SCSS
$custom: #a255c2;
$custom-light: #c088d5;
$custom-dark: #000000;
JSON
{
  "hex": "#a255c2",
  "rgb": {
    "r": 162,
    "g": 85,
    "b": 194
  },
  "hsl": {
    "h": 282.385,
    "s": 47.186,
    "l": 54.706
  },
  "oklch": {
    "l": 0.58635,
    "c": 0.1749,
    "h": 314.9
  },
  "luminance": 0.18073
}

Semantic roles & 50–950 ramp

primary
#A255C2
secondary
#B0D0A2
accent
#D75178
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #A255C2

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

Preview Lab → · Contrast checker → · Palette generator →

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