#A258E5#A258E5

#A258E5 is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.2% C 0.208 H 305.2°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#A258E5
RGBrgb(162, 88, 229)
HSLhsl(271, 73%, 62%)
HSVhsv(271, 62%, 90%)
CMYKcmyk(29.3%, 61.6%, 0%, 10.2%)
CIE-LABlab(52.20, 55.80, -60.08)
CIE-LCHlch(52.20, 82.00, 312.88°)
OKLaboklab(61.2% 0.12 -0.17)
OKLCHoklch(61.2% 0.208 305.2)
XYZxyz(32.5298, 20.3182, 76.3216)
Luminance0.2032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A258E5 #9BE558
analogous
#5B58E5 #A258E5 #E558E2
triadic
#A258E5 #E5A258 #58E5A2
tetradic
#A258E5 #E55B58 #9BE558 #58E2E5
square
#A258E5 #E55B58 #9BE558 #58E2E5
split-complementary
#A258E5 #E2E558 #58E55B
monochromatic
#651AA8 #8523DD #A258E5 #BF8DED #DDC2F5

Accessibility & contrast

On white

4.15
#A258E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#A258E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A258E5
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A258E5#FFFFFF#000000##000000
##A258E51.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AE9
Deuteranopia (green-blind)
#377DE2
Tritanopia (blue-blind)
#967597
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a258e5;
/* rgb */ color: rgb(162, 88, 229);
/* oklch */ color: oklch(61.2% 0.208 305.2);
Tailwind
colors: {
  custom: {
    50: '#c28bee',
    500: '#a258e5',
    950: '#000000',
  },
}
SCSS
$custom: #a258e5;
$custom-light: #c28bee;
$custom-dark: #000000;
JSON
{
  "hex": "#a258e5",
  "rgb": {
    "r": 162,
    "g": 88,
    "b": 229
  },
  "hsl": {
    "h": 271.489,
    "s": 73.057,
    "l": 62.157
  },
  "oklch": {
    "l": 0.61195,
    "c": 0.20811,
    "h": 305.2
  },
  "luminance": 0.20318
}

Semantic roles & 50–950 ramp

primary
#A258E5
secondary
#CBE6B3
accent
#D5106E
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A258E5

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

Preview Lab → · Contrast checker → · Palette generator →

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