#A253EC#A253EC

#A253EC is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 61.0% C 0.222 H 304.3°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#A253EC
RGBrgb(162, 83, 236)
HSLhsl(271, 80%, 63%)
HSVhsv(271, 65%, 93%)
CMYKcmyk(31.4%, 64.8%, 0%, 7.5%)
CIE-LABlab(51.75, 59.85, -64.74)
CIE-LCHlch(51.75, 88.16, 312.76°)
OKLaboklab(61.02% 0.1251 -0.1837)
OKLCHoklch(61.02% 0.222 304.3)
XYZxyz(33.1305, 19.9241, 81.4410)
Luminance0.1992 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A253EC #9DEC53
analogous
#5553EC #A253EC #EC53EA
triadic
#A253EC #ECA253 #53ECA2
tetradic
#A253EC #EC5553 #9DEC53 #53EAEC
square
#A253EC #EC5553 #9DEC53 #53EAEC
split-complementary
#A253EC #EAEC53 #53EC55
monochromatic
#6514B1 #841CE6 #A253EC #C08AF2 #DEC1F8

Accessibility & contrast

On white

4.21
#A253EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#A253EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A253EC
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A253EC#FFFFFF#000000##000000
##A253EC1.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F1
Deuteranopia (green-blind)
#227BE9
Tritanopia (blue-blind)
#947499
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a253ec;
/* rgb */ color: rgb(162, 83, 236);
/* oklch */ color: oklch(61.0% 0.222 304.3);
Tailwind
colors: {
  custom: {
    50: '#c288f3',
    500: '#a253ec',
    950: '#000000',
  },
}
SCSS
$custom: #a253ec;
$custom-light: #c288f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a253ec",
  "rgb": {
    "r": 162,
    "g": 83,
    "b": 236
  },
  "hsl": {
    "h": 270.98,
    "s": 80.105,
    "l": 62.549
  },
  "oklch": {
    "l": 0.61018,
    "c": 0.22226,
    "h": 304.3
  },
  "luminance": 0.19924
}

Semantic roles & 50–950 ramp

primary
#A253EC
secondary
#CCE9B2
accent
#DC096F
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A253EC

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

Preview Lab → · Contrast checker → · Palette generator →

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