#A255C8#A255C8

#A255C8 is a mid, vivid purple. Relative luminance 0.183; OKLCH L 59.0% C 0.181 H 313.1°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#A255C8
RGBrgb(162, 85, 200)
HSLhsl(280, 51%, 56%)
HSVhsv(280, 58%, 78%)
CMYKcmyk(19%, 57.5%, 0%, 21.6%)
CIE-LABlab(49.92, 50.82, -47.23)
CIE-LCHlch(49.92, 69.37, 317.10°)
OKLaboklab(58.98% 0.1238 -0.1323)
OKLCHoklch(58.98% 0.181 313.1)
XYZxyz(28.5723, 18.3493, 56.6690)
Luminance0.1835 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A255C8 #7BC855
analogous
#6855C8 #A255C8 #C855B4
triadic
#A255C8 #C8A255 #55C8A2
tetradic
#A255C8 #C86855 #7BC855 #55B4C8
square
#A255C8 #C86855 #7BC855 #55B4C8
split-complementary
#A255C8 #B4C855 #55C868
monochromatic
#5F287B #8337A9 #A255C8 #BB83D7 #D5B1E6

Accessibility & contrast

On white

4.50
#A255C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#A255C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A255C8
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A255C8#FFFFFF#000000##000000
##A255C81.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3273CC
Deuteranopia (green-blind)
#5079C5
Tritanopia (blue-blind)
#9E6986
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a255c8;
/* rgb */ color: rgb(162, 85, 200);
/* oklch */ color: oklch(59.0% 0.181 313.1);
Tailwind
colors: {
  custom: {
    50: '#c088d9',
    500: '#a255c8',
    950: '#000000',
  },
}
SCSS
$custom: #a255c8;
$custom-light: #c088d9;
$custom-dark: #000000;
JSON
{
  "hex": "#a255c8",
  "rgb": {
    "r": 162,
    "g": 85,
    "b": 200
  },
  "hsl": {
    "h": 280.174,
    "s": 51.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.58984,
    "c": 0.18124,
    "h": 313.1
  },
  "luminance": 0.18349
}

Semantic roles & 50–950 ramp

primary
#A255C8
secondary
#B4D4A5
accent
#DB4D7C
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C15
muted
#827D83

Preview Lab

Preview with #A255C8

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

Preview Lab → · Contrast checker → · Palette generator →

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