#A258E8#A258E8

#A258E8 is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.4% C 0.211 H 304.5°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#A258E8
RGBrgb(162, 88, 232)
HSLhsl(271, 76%, 63%)
HSVhsv(271, 62%, 91%)
CMYKcmyk(30.2%, 62.1%, 0%, 9%)
CIE-LABlab(52.38, 56.50, -61.47)
CIE-LCHlch(52.38, 83.49, 312.59°)
OKLaboklab(61.39% 0.1199 -0.1741)
OKLCHoklch(61.39% 0.211 304.5)
XYZxyz(32.9523, 20.4872, 78.5467)
Luminance0.2049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A258E8 #9EE858
analogous
#5A58E8 #A258E8 #E858E6
triadic
#A258E8 #E8A258 #58E8A2
tetradic
#A258E8 #E85A58 #9EE858 #58E6E8
square
#A258E8 #E85A58 #9EE858 #58E6E8
split-complementary
#A258E8 #E6E858 #58E85A
monochromatic
#6518AE #8422E1 #A258E8 #C08EEF #DEC4F7

Accessibility & contrast

On white

4.12
#A258E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#A258E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A258E8
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A258E8#FFFFFF#000000##000000
##A258E81.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEC
Deuteranopia (green-blind)
#337DE5
Tritanopia (blue-blind)
#957698
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a258e8;
/* rgb */ color: rgb(162, 88, 232);
/* oklch */ color: oklch(61.4% 0.211 304.5);
Tailwind
colors: {
  custom: {
    50: '#c28bf0',
    500: '#a258e8',
    950: '#000000',
  },
}
SCSS
$custom: #a258e8;
$custom-light: #c28bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#a258e8",
  "rgb": {
    "r": 162,
    "g": 88,
    "b": 232
  },
  "hsl": {
    "h": 270.833,
    "s": 75.789,
    "l": 62.745
  },
  "oklch": {
    "l": 0.61392,
    "c": 0.21136,
    "h": 304.5
  },
  "luminance": 0.20487
}

Semantic roles & 50–950 ramp

primary
#A258E8
secondary
#CDE8B4
accent
#D80E70
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A258E8

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

Preview Lab → · Contrast checker → · Palette generator →

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