#A257CD#A257CD

#A257CD is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.6% C 0.184 H 311.4°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#A257CD
RGBrgb(162, 87, 205)
HSLhsl(278, 54%, 57%)
HSVhsv(278, 58%, 80%)
CMYKcmyk(21%, 57.6%, 0%, 19.6%)
CIE-LABlab(50.58, 50.89, -49.04)
CIE-LCHlch(50.58, 70.68, 316.06°)
OKLaboklab(59.56% 0.1214 -0.1377)
OKLCHoklch(59.56% 0.184 311.4)
XYZxyz(29.3259, 18.9062, 59.8502)
Luminance0.1891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A257CD #82CD57
analogous
#6757CD #A257CD #CD57BD
triadic
#A257CD #CDA257 #57CDA2
tetradic
#A257CD #CD6757 #82CD57 #57BDCD
square
#A257CD #CD6757 #82CD57 #57BDCD
split-complementary
#A257CD #BDCD57 #57CD67
monochromatic
#612783 #8435B2 #A257CD #BC86DB #D6B5E9

Accessibility & contrast

On white

4.39
#A257CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#A257CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A257CD
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A257CD#FFFFFF#000000##000000
##A257CD1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3175D1
Deuteranopia (green-blind)
#4E7ACA
Tritanopia (blue-blind)
#9D6C8A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a257cd;
/* rgb */ color: rgb(162, 87, 205);
/* oklch */ color: oklch(59.6% 0.184 311.4);
Tailwind
colors: {
  custom: {
    50: '#c08add',
    500: '#a257cd',
    950: '#000000',
  },
}
SCSS
$custom: #a257cd;
$custom-light: #c08add;
$custom-dark: #000000;
JSON
{
  "hex": "#a257cd",
  "rgb": {
    "r": 162,
    "g": 87,
    "b": 205
  },
  "hsl": {
    "h": 278.136,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.59558,
    "c": 0.18357,
    "h": 311.4
  },
  "luminance": 0.18906
}

Semantic roles & 50–950 ramp

primary
#A257CD
secondary
#B9D8A8
accent
#DD4A80
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A257CD

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

Preview Lab → · Contrast checker → · Palette generator →

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