#A257FA#A257FA

#A257FA is a light, highly saturated violet. Relative luminance 0.214; OKLCH L 62.5% C 0.232 H 301.0°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#A257FA
RGBrgb(162, 87, 250)
HSLhsl(268, 94%, 66%)
HSVhsv(268, 65%, 98%)
CMYKcmyk(35.2%, 65.2%, 0%, 2%)
CIE-LABlab(53.38, 61.21, -69.91)
CIE-LCHlch(53.38, 92.92, 311.20°)
OKLaboklab(62.49% 0.1195 -0.1989)
OKLCHoklch(62.49% 0.232 301)
XYZxyz(35.5596, 21.3997, 92.6811)
Luminance0.2140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A257FA #AFFA57
analogous
#575DFA #A257FA #F357FA
triadic
#A257FA #FAA257 #57FAA2
tetradic
#A257FA #FA575D #AFFA57 #57FAF3
square
#A257FA #FA575D #AFFA57 #57FAF3
split-complementary
#A257FA #FAF357 #5DFA57
monochromatic
#6306D0 #811CF8 #A257FA #C392FC #E4CEFE

Accessibility & contrast

On white

3.98
#A257FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#A257FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A257FA
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A257FA#FFFFFF#000000##000000
##A257FA1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#007FF7
Tritanopia (blue-blind)
#8F7CA1
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a257fa;
/* rgb */ color: rgb(162, 87, 250);
/* oklch */ color: oklch(62.5% 0.232 301.0);
Tailwind
colors: {
  custom: {
    50: '#c38bfd',
    500: '#a257fa',
    950: '#000000',
  },
}
SCSS
$custom: #a257fa;
$custom-light: #c38bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#a257fa",
  "rgb": {
    "r": 162,
    "g": 87,
    "b": 250
  },
  "hsl": {
    "h": 267.607,
    "s": 94.22,
    "l": 66.078
  },
  "oklch": {
    "l": 0.62488,
    "c": 0.23205,
    "h": 301
  },
  "luminance": 0.214
}

Semantic roles & 50–950 ramp

primary
#A257FA
secondary
#D9F1BC
accent
#E6007C
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C18
muted
#827D86

Preview Lab

Preview with #A257FA

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

Preview Lab → · Contrast checker → · Palette generator →

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