#A254FA#A254FA

#A254FA is a light, highly saturated violet. Relative luminance 0.209; OKLCH L 62.1% C 0.236 H 301.3°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#A254FA
RGBrgb(162, 84, 250)
HSLhsl(268, 94%, 65%)
HSVhsv(268, 66%, 98%)
CMYKcmyk(35.2%, 66.4%, 0%, 2%)
CIE-LABlab(52.87, 62.64, -70.75)
CIE-LCHlch(52.87, 94.50, 311.52°)
OKLaboklab(62.12% 0.1226 -0.2014)
OKLCHoklch(62.12% 0.236 301.3)
XYZxyz(35.3218, 20.9240, 92.6018)
Luminance0.2092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A254FA #ACFA54
analogous
#5459FA #A254FA #F554FA
triadic
#A254FA #FAA254 #54FAA2
tetradic
#A254FA #FA5459 #ACFA54 #54FAF5
square
#A254FA #FA5459 #ACFA54 #54FAF5
split-complementary
#A254FA #FAF554 #59FA54
monochromatic
#6406CE #8219F8 #A254FA #C28FFC #E3CBFD

Accessibility & contrast

On white

4.05
#A254FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#A254FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A254FA
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A254FA#FFFFFF#000000##000000
##A254FA1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFF
Deuteranopia (green-blind)
#007DF6
Tritanopia (blue-blind)
#8F7AA0
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a254fa;
/* rgb */ color: rgb(162, 84, 250);
/* oklch */ color: oklch(62.1% 0.236 301.3);
Tailwind
colors: {
  custom: {
    50: '#c389fd',
    500: '#a254fa',
    950: '#000000',
  },
}
SCSS
$custom: #a254fa;
$custom-light: #c389fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a254fa",
  "rgb": {
    "r": 162,
    "g": 84,
    "b": 250
  },
  "hsl": {
    "h": 268.193,
    "s": 94.318,
    "l": 65.49
  },
  "oklch": {
    "l": 0.62117,
    "c": 0.23577,
    "h": 301.3
  },
  "luminance": 0.20924
}

Semantic roles & 50–950 ramp

primary
#A254FA
secondary
#D7F1B9
accent
#E6007A
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C18
muted
#827D86

Preview Lab

Preview with #A254FA

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

Preview Lab → · Contrast checker → · Palette generator →

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