#A258E7#A258E7

#A258E7 is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.3% C 0.210 H 304.8°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#A258E7
RGBrgb(162, 88, 231)
HSLhsl(271, 75%, 63%)
HSVhsv(271, 62%, 91%)
CMYKcmyk(29.9%, 61.9%, 0%, 9.4%)
CIE-LABlab(52.32, 56.26, -61.01)
CIE-LCHlch(52.32, 82.99, 312.68°)
OKLaboklab(61.33% 0.1199 -0.1727)
OKLCHoklch(61.33% 0.21 304.8)
XYZxyz(32.8106, 20.4305, 77.8008)
Luminance0.2043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A258E7 #9DE758
analogous
#5B58E7 #A258E7 #E758E4
triadic
#A258E7 #E7A258 #58E7A2
tetradic
#A258E7 #E75B58 #9DE758 #58E4E7
square
#A258E7 #E75B58 #9DE758 #58E4E7
split-complementary
#A258E7 #E4E758 #58E75B
monochromatic
#6519AC #8422DF #A258E7 #C08EEF #DEC3F6

Accessibility & contrast

On white

4.13
#A258E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#A258E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A258E7
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A258E7#FFFFFF#000000##000000
##A258E71.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEB
Deuteranopia (green-blind)
#347DE4
Tritanopia (blue-blind)
#967698
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a258e7;
/* rgb */ color: rgb(162, 88, 231);
/* oklch */ color: oklch(61.3% 0.210 304.8);
Tailwind
colors: {
  custom: {
    50: '#c28bef',
    500: '#a258e7',
    950: '#000000',
  },
}
SCSS
$custom: #a258e7;
$custom-light: #c28bef;
$custom-dark: #000000;
JSON
{
  "hex": "#a258e7",
  "rgb": {
    "r": 162,
    "g": 88,
    "b": 231
  },
  "hsl": {
    "h": 271.049,
    "s": 74.869,
    "l": 62.549
  },
  "oklch": {
    "l": 0.61326,
    "c": 0.21028,
    "h": 304.8
  },
  "luminance": 0.2043
}

Semantic roles & 50–950 ramp

primary
#A258E7
secondary
#CCE7B3
accent
#D70E6F
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A258E7

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

Preview Lab → · Contrast checker → · Palette generator →

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