#A254E0#A254E0

#A254E0 is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.3% C 0.208 H 306.8°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#A254E0
RGBrgb(162, 84, 224)
HSLhsl(273, 69%, 60%)
HSVhsv(273, 63%, 88%)
CMYKcmyk(27.7%, 62.5%, 0%, 12.2%)
CIE-LABlab(51.16, 56.63, -58.93)
CIE-LCHlch(51.16, 81.73, 313.86°)
OKLaboklab(60.34% 0.1249 -0.1666)
OKLCHoklch(60.34% 0.208 306.8)
XYZxyz(31.5223, 19.4042, 72.5913)
Luminance0.1940 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A254E0 #92E054
analogous
#5C54E0 #A254E0 #E054D8
triadic
#A254E0 #E0A254 #54E0A2
tetradic
#A254E0 #E05C54 #92E054 #54D8E0
square
#A254E0 #E05C54 #92E054 #54D8E0
split-complementary
#A254E0 #D8E054 #54E05C
monochromatic
#641C9D #8526D1 #A254E0 #BE88E9 #DABCF3

Accessibility & contrast

On white

4.30
#A254E0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#A254E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A254E0
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A254E0#FFFFFF#000000##000000
##A254E01.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E4
Deuteranopia (green-blind)
#387ADD
Tritanopia (blue-blind)
#987192
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a254e0;
/* rgb */ color: rgb(162, 84, 224);
/* oklch */ color: oklch(60.3% 0.208 306.8);
Tailwind
colors: {
  custom: {
    50: '#c288ea',
    500: '#a254e0',
    950: '#000000',
  },
}
SCSS
$custom: #a254e0;
$custom-light: #c288ea;
$custom-dark: #000000;
JSON
{
  "hex": "#a254e0",
  "rgb": {
    "r": 162,
    "g": 84,
    "b": 224
  },
  "hsl": {
    "h": 273.429,
    "s": 69.307,
    "l": 60.392
  },
  "oklch": {
    "l": 0.60343,
    "c": 0.20823,
    "h": 306.8
  },
  "luminance": 0.19404
}

Semantic roles & 50–950 ramp

primary
#A254E0
secondary
#C5E3AD
accent
#D11468
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A254E0

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

Preview Lab → · Contrast checker → · Palette generator →

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