#A257CF#A257CF

#A257CF is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.7% C 0.186 H 310.8°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#A257CF
RGBrgb(162, 87, 207)
HSLhsl(278, 56%, 58%)
HSVhsv(278, 58%, 81%)
CMYKcmyk(21.7%, 58%, 0%, 18.8%)
CIE-LABlab(50.69, 51.33, -50.01)
CIE-LCHlch(50.69, 71.66, 315.75°)
OKLaboklab(59.68% 0.1215 -0.1405)
OKLCHoklch(59.68% 0.186 310.8)
XYZxyz(29.5689, 19.0034, 61.1297)
Luminance0.1900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A257CF #84CF57
analogous
#6657CF #A257CF #CF57C0
triadic
#A257CF #CFA257 #57CFA2
tetradic
#A257CF #CF6657 #84CF57 #57C0CF
square
#A257CF #CF6657 #84CF57 #57C0CF
split-complementary
#A257CF #C0CF57 #57CF66
monochromatic
#622685 #8534B5 #A257CF #BC87DD #D7B6EA

Accessibility & contrast

On white

4.37
#A257CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#A257CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A257CF
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A257CF#FFFFFF#000000##000000
##A257CF1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E75D3
Deuteranopia (green-blind)
#4C7ACC
Tritanopia (blue-blind)
#9C6D8B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a257cf;
/* rgb */ color: rgb(162, 87, 207);
/* oklch */ color: oklch(59.7% 0.186 310.8);
Tailwind
colors: {
  custom: {
    50: '#c18ade',
    500: '#a257cf',
    950: '#000000',
  },
}
SCSS
$custom: #a257cf;
$custom-light: #c18ade;
$custom-dark: #000000;
JSON
{
  "hex": "#a257cf",
  "rgb": {
    "r": 162,
    "g": 87,
    "b": 207
  },
  "hsl": {
    "h": 277.5,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.59678,
    "c": 0.18572,
    "h": 310.8
  },
  "luminance": 0.19003
}

Semantic roles & 50–950 ramp

primary
#A257CF
secondary
#BBD9A9
accent
#DF4981
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A257CF

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

Preview Lab → · Contrast checker → · Palette generator →

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