#A258E4#A258E4

#A258E4 is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.1% C 0.207 H 305.4°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#A258E4
RGBrgb(162, 88, 228)
HSLhsl(272, 72%, 62%)
HSVhsv(272, 61%, 89%)
CMYKcmyk(28.9%, 61.4%, 0%, 10.6%)
CIE-LABlab(52.13, 55.57, -59.62)
CIE-LCHlch(52.13, 81.50, 312.99°)
OKLaboklab(61.13% 0.12 -0.1687)
OKLCHoklch(61.13% 0.207 305.4)
XYZxyz(32.3906, 20.2625, 75.5884)
Luminance0.2026 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A258E4 #9AE458
analogous
#5C58E4 #A258E4 #E458E0
triadic
#A258E4 #E4A258 #58E4A2
tetradic
#A258E4 #E45C58 #9AE458 #58E0E4
square
#A258E4 #E45C58 #9AE458 #58E0E4
split-complementary
#A258E4 #E0E458 #58E45C
monochromatic
#651BA7 #8523DB #A258E4 #BF8DED #DDC1F5

Accessibility & contrast

On white

4.16
#A258E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#A258E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A258E4
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A258E4#FFFFFF#000000##000000
##A258E41.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AE8
Deuteranopia (green-blind)
#387DE1
Tritanopia (blue-blind)
#977596
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a258e4;
/* rgb */ color: rgb(162, 88, 228);
/* oklch */ color: oklch(61.1% 0.207 305.4);
Tailwind
colors: {
  custom: {
    50: '#c28bed',
    500: '#a258e4',
    950: '#000000',
  },
}
SCSS
$custom: #a258e4;
$custom-light: #c28bed;
$custom-dark: #000000;
JSON
{
  "hex": "#a258e4",
  "rgb": {
    "r": 162,
    "g": 88,
    "b": 228
  },
  "hsl": {
    "h": 271.714,
    "s": 72.165,
    "l": 61.961
  },
  "oklch": {
    "l": 0.6113,
    "c": 0.20703,
    "h": 305.4
  },
  "luminance": 0.20262
}

Semantic roles & 50–950 ramp

primary
#A258E4
secondary
#CAE6B2
accent
#D4116D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A258E4

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

Preview Lab → · Contrast checker → · Palette generator →

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