#A258E9#A258E9

#A258E9 is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.5% C 0.212 H 304.3°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#A258E9
RGBrgb(162, 88, 233)
HSLhsl(271, 77%, 63%)
HSVhsv(271, 62%, 91%)
CMYKcmyk(30.5%, 62.2%, 0%, 8.6%)
CIE-LABlab(52.45, 56.73, -61.93)
CIE-LCHlch(52.45, 83.98, 312.49°)
OKLaboklab(61.46% 0.1198 -0.1754)
OKLCHoklch(61.46% 0.212 304.3)
XYZxyz(33.0947, 20.5442, 79.2969)
Luminance0.2054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A258E9 #9FE958
analogous
#5958E9 #A258E9 #E958E7
triadic
#A258E9 #E9A258 #58E9A2
tetradic
#A258E9 #E95958 #9FE958 #58E7E9
square
#A258E9 #E95958 #9FE958 #58E7E9
split-complementary
#A258E9 #E7E958 #58E959
monochromatic
#6517AF #8422E2 #A258E9 #C08EF0 #DEC4F7

Accessibility & contrast

On white

4.11
#A258E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#A258E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A258E9
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A258E9#FFFFFF#000000##000000
##A258E91.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEE
Deuteranopia (green-blind)
#317DE6
Tritanopia (blue-blind)
#957699
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a258e9;
/* rgb */ color: rgb(162, 88, 233);
/* oklch */ color: oklch(61.5% 0.212 304.3);
Tailwind
colors: {
  custom: {
    50: '#c28bf1',
    500: '#a258e9',
    950: '#000000',
  },
}
SCSS
$custom: #a258e9;
$custom-light: #c28bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#a258e9",
  "rgb": {
    "r": 162,
    "g": 88,
    "b": 233
  },
  "hsl": {
    "h": 270.621,
    "s": 76.72,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61458,
    "c": 0.21244,
    "h": 304.3
  },
  "luminance": 0.20544
}

Semantic roles & 50–950 ramp

primary
#A258E9
secondary
#CEE8B4
accent
#D90D71
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A258E9

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

Preview Lab → · Contrast checker → · Palette generator →

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