#A257CE#A257CE

#A257CE is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.6% C 0.185 H 311.1°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#A257CE
RGBrgb(162, 87, 206)
HSLhsl(278, 55%, 57%)
HSVhsv(278, 58%, 81%)
CMYKcmyk(21.4%, 57.8%, 0%, 19.2%)
CIE-LABlab(50.63, 51.11, -49.53)
CIE-LCHlch(50.63, 71.17, 315.90°)
OKLaboklab(59.62% 0.1214 -0.1391)
OKLCHoklch(59.62% 0.185 311.1)
XYZxyz(29.4470, 18.9546, 60.4879)
Luminance0.1895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A257CE #83CE57
analogous
#6657CE #A257CE #CE57BF
triadic
#A257CE #CEA257 #57CEA2
tetradic
#A257CE #CE6657 #83CE57 #57BFCE
square
#A257CE #CE6657 #83CE57 #57BFCE
split-complementary
#A257CE #BFCE57 #57CE66
monochromatic
#612784 #8434B3 #A257CE #BC86DC #D6B6EA

Accessibility & contrast

On white

4.38
#A257CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#A257CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A257CE
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A257CE#FFFFFF#000000##000000
##A257CE1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F75D2
Deuteranopia (green-blind)
#4D7ACB
Tritanopia (blue-blind)
#9D6D8A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a257ce;
/* rgb */ color: rgb(162, 87, 206);
/* oklch */ color: oklch(59.6% 0.185 311.1);
Tailwind
colors: {
  custom: {
    50: '#c08add',
    500: '#a257ce',
    950: '#000000',
  },
}
SCSS
$custom: #a257ce;
$custom-light: #c08add;
$custom-dark: #000000;
JSON
{
  "hex": "#a257ce",
  "rgb": {
    "r": 162,
    "g": 87,
    "b": 206
  },
  "hsl": {
    "h": 277.815,
    "s": 54.839,
    "l": 57.451
  },
  "oklch": {
    "l": 0.59618,
    "c": 0.18464,
    "h": 311.1
  },
  "luminance": 0.18954
}

Semantic roles & 50–950 ramp

primary
#A257CE
secondary
#BAD8A8
accent
#DE4A81
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A257CE

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

Preview Lab → · Contrast checker → · Palette generator →

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