#A257CC#A257CC

#A257CC is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.5% C 0.182 H 311.7°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#A257CC
RGBrgb(162, 87, 204)
HSLhsl(278, 53%, 57%)
HSVhsv(278, 57%, 80%)
CMYKcmyk(20.6%, 57.4%, 0%, 20%)
CIE-LABlab(50.52, 50.67, -48.56)
CIE-LCHlch(50.52, 70.18, 316.22°)
OKLaboklab(59.5% 0.1214 -0.1363)
OKLCHoklch(59.5% 0.182 311.7)
XYZxyz(29.2056, 18.8581, 59.2165)
Luminance0.1886 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A257CC #81CC57
analogous
#6857CC #A257CC #CC57BB
triadic
#A257CC #CCA257 #57CCA2
tetradic
#A257CC #CC6857 #81CC57 #57BBCC
square
#A257CC #CC6857 #81CC57 #57BBCC
split-complementary
#A257CC #BBCC57 #57CC68
monochromatic
#612781 #8436B0 #A257CC #BC86DA #D6B5E9

Accessibility & contrast

On white

4.40
#A257CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#A257CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A257CC
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A257CC#FFFFFF#000000##000000
##A257CC1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3274D0
Deuteranopia (green-blind)
#4E7AC9
Tritanopia (blue-blind)
#9D6C89
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a257cc;
/* rgb */ color: rgb(162, 87, 204);
/* oklch */ color: oklch(59.5% 0.182 311.7);
Tailwind
colors: {
  custom: {
    50: '#c08adc',
    500: '#a257cc',
    950: '#000000',
  },
}
SCSS
$custom: #a257cc;
$custom-light: #c08adc;
$custom-dark: #000000;
JSON
{
  "hex": "#a257cc",
  "rgb": {
    "r": 162,
    "g": 87,
    "b": 204
  },
  "hsl": {
    "h": 278.462,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.59498,
    "c": 0.18249,
    "h": 311.7
  },
  "luminance": 0.18857
}

Semantic roles & 50–950 ramp

primary
#A257CC
secondary
#B9D7A8
accent
#DD4B7F
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A257CC

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

Preview Lab → · Contrast checker → · Palette generator →

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