#A258ED#A258ED

#A258ED is a mid, highly saturated violet. Relative luminance 0.208; OKLCH L 61.7% C 0.217 H 303.5°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#A258ED
RGBrgb(162, 88, 237)
HSLhsl(270, 81%, 64%)
HSVhsv(270, 63%, 93%)
CMYKcmyk(31.6%, 62.9%, 0%, 7.1%)
CIE-LABlab(52.70, 57.66, -63.76)
CIE-LCHlch(52.70, 85.97, 312.12°)
OKLaboklab(61.72% 0.1196 -0.1808)
OKLCHoklch(61.72% 0.217 303.5)
XYZxyz(33.6726, 20.7753, 82.3404)
Luminance0.2077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A258ED #A3ED58
analogous
#5858ED #A258ED #ED58ED
triadic
#A258ED #EDA258 #58EDA2
tetradic
#A258ED #ED5858 #A3ED58 #58EDED
square
#A258ED #ED5858 #A3ED58 #58EDED
split-complementary
#A258ED #EDED58 #58ED58
monochromatic
#6514B7 #8321E7 #A258ED #C18FF3 #E0C6F9

Accessibility & contrast

On white

4.07
#A258ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#A258ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A258ED
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A258ED#FFFFFF#000000##000000
##A258ED1.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF2
Deuteranopia (green-blind)
#2A7EEA
Tritanopia (blue-blind)
#94789B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a258ed;
/* rgb */ color: rgb(162, 88, 237);
/* oklch */ color: oklch(61.7% 0.217 303.5);
Tailwind
colors: {
  custom: {
    50: '#c28bf4',
    500: '#a258ed',
    950: '#000000',
  },
}
SCSS
$custom: #a258ed;
$custom-light: #c28bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#a258ed",
  "rgb": {
    "r": 162,
    "g": 88,
    "b": 237
  },
  "hsl": {
    "h": 269.799,
    "s": 80.541,
    "l": 63.725
  },
  "oklch": {
    "l": 0.61725,
    "c": 0.21678,
    "h": 303.5
  },
  "luminance": 0.20775
}

Semantic roles & 50–950 ramp

primary
#A258ED
secondary
#D1EBB6
accent
#DD0973
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #A258ED

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

Preview Lab → · Contrast checker → · Palette generator →

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