#A257CA#A257CA

#A257CA is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.4% C 0.180 H 312.3°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#A257CA
RGBrgb(162, 87, 202)
HSLhsl(279, 52%, 57%)
HSVhsv(279, 57%, 79%)
CMYKcmyk(19.8%, 56.9%, 0%, 20.8%)
CIE-LABlab(50.41, 50.24, -47.59)
CIE-LCHlch(50.41, 69.20, 316.55°)
OKLaboklab(59.38% 0.1213 -0.1334)
OKLCHoklch(59.38% 0.18 312.3)
XYZxyz(28.9673, 18.7627, 57.9613)
Luminance0.1876 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A257CA #7FCA57
analogous
#6957CA #A257CA #CA57B9
triadic
#A257CA #CAA257 #57CAA2
tetradic
#A257CA #CA6957 #7FCA57 #57B9CA
square
#A257CA #CA6957 #7FCA57 #57B9CA
split-complementary
#A257CA #B9CA57 #57CA69
monochromatic
#60287F #8437AD #A257CA #BC86D9 #D6B4E7

Accessibility & contrast

On white

4.42
#A257CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#A257CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A257CA
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A257CA#FFFFFF#000000##000000
##A257CA1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3474CE
Deuteranopia (green-blind)
#507AC7
Tritanopia (blue-blind)
#9E6B88
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a257ca;
/* rgb */ color: rgb(162, 87, 202);
/* oklch */ color: oklch(59.4% 0.180 312.3);
Tailwind
colors: {
  custom: {
    50: '#c08adb',
    500: '#a257ca',
    950: '#000000',
  },
}
SCSS
$custom: #a257ca;
$custom-light: #c08adb;
$custom-dark: #000000;
JSON
{
  "hex": "#a257ca",
  "rgb": {
    "r": 162,
    "g": 87,
    "b": 202
  },
  "hsl": {
    "h": 279.13,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.5938,
    "c": 0.18035,
    "h": 312.3
  },
  "luminance": 0.18762
}

Semantic roles & 50–950 ramp

primary
#A257CA
secondary
#B7D6A7
accent
#DB4C7E
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A257CA

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

Preview Lab → · Contrast checker → · Palette generator →

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