#A254E6#A254E6

#A254E6 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.7% C 0.215 H 305.5°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#A254E6
RGBrgb(162, 84, 230)
HSLhsl(272, 74%, 62%)
HSVhsv(272, 63%, 90%)
CMYKcmyk(29.6%, 63.5%, 0%, 9.8%)
CIE-LABlab(51.54, 57.99, -61.71)
CIE-LCHlch(51.54, 84.68, 313.22°)
OKLaboklab(60.74% 0.1245 -0.1748)
OKLCHoklch(60.74% 0.215 305.5)
XYZxyz(32.3504, 19.7354, 76.9526)
Luminance0.1973 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A254E6 #98E654
analogous
#5954E6 #A254E6 #E654E1
triadic
#A254E6 #E6A254 #54E6A2
tetradic
#A254E6 #E65954 #98E654 #54E1E6
square
#A254E6 #E65954 #98E654 #54E1E6
split-complementary
#A254E6 #E1E654 #54E659
monochromatic
#6518A7 #8520DD #A254E6 #BF89EE #DCBFF6

Accessibility & contrast

On white

4.24
#A254E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#A254E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A254E6
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A254E6#FFFFFF#000000##000000
##A254E61.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EB
Deuteranopia (green-blind)
#2F7BE3
Tritanopia (blue-blind)
#967396
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a254e6;
/* rgb */ color: rgb(162, 84, 230);
/* oklch */ color: oklch(60.7% 0.215 305.5);
Tailwind
colors: {
  custom: {
    50: '#c288ef',
    500: '#a254e6',
    950: '#000000',
  },
}
SCSS
$custom: #a254e6;
$custom-light: #c288ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a254e6",
  "rgb": {
    "r": 162,
    "g": 84,
    "b": 230
  },
  "hsl": {
    "h": 272.055,
    "s": 74.49,
    "l": 61.569
  },
  "oklch": {
    "l": 0.60739,
    "c": 0.2146,
    "h": 305.5
  },
  "luminance": 0.19735
}

Semantic roles & 50–950 ramp

primary
#A254E6
secondary
#C9E6B0
accent
#D70F6C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A254E6

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

Preview Lab → · Contrast checker → · Palette generator →

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