#A258E1#A258E1

#A258E1 is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 60.9% C 0.204 H 306.1°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#A258E1
RGBrgb(162, 88, 225)
HSLhsl(272, 70%, 61%)
HSVhsv(272, 61%, 88%)
CMYKcmyk(28%, 60.9%, 0%, 11.8%)
CIE-LABlab(51.95, 54.88, -58.23)
CIE-LCHlch(51.95, 80.01, 313.31°)
OKLaboklab(60.94% 0.1201 -0.1646)
OKLCHoklch(60.94% 0.204 306.1)
XYZxyz(31.9777, 20.0974, 73.4141)
Luminance0.2010 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A258E1 #97E158
analogous
#5E58E1 #A258E1 #E158DB
triadic
#A258E1 #E1A258 #58E1A2
tetradic
#A258E1 #E15E58 #97E158 #58DBE1
square
#A258E1 #E15E58 #97E158 #58DBE1
split-complementary
#A258E1 #DBE158 #58E15E
monochromatic
#651DA2 #8526D5 #A258E1 #BF8CEA #DCC0F4

Accessibility & contrast

On white

4.18
#A258E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#A258E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A258E1
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A258E1#FFFFFF#000000##000000
##A258E11.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B79E5
Deuteranopia (green-blind)
#3C7CDE
Tritanopia (blue-blind)
#977494
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a258e1;
/* rgb */ color: rgb(162, 88, 225);
/* oklch */ color: oklch(60.9% 0.204 306.1);
Tailwind
colors: {
  custom: {
    50: '#c18beb',
    500: '#a258e1',
    950: '#000000',
  },
}
SCSS
$custom: #a258e1;
$custom-light: #c18beb;
$custom-dark: #000000;
JSON
{
  "hex": "#a258e1",
  "rgb": {
    "r": 162,
    "g": 88,
    "b": 225
  },
  "hsl": {
    "h": 272.409,
    "s": 69.543,
    "l": 61.373
  },
  "oklch": {
    "l": 0.60936,
    "c": 0.20377,
    "h": 306.1
  },
  "luminance": 0.20097
}

Semantic roles & 50–950 ramp

primary
#A258E1
secondary
#C8E4B1
accent
#D2146B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A258E1

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

Preview Lab → · Contrast checker → · Palette generator →

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