#A258EF#A258EF

#A258EF is a mid, highly saturated violet. Relative luminance 0.209; OKLCH L 61.9% C 0.219 H 303.1°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#A258EF
RGBrgb(162, 88, 239)
HSLhsl(269, 83%, 64%)
HSVhsv(269, 63%, 94%)
CMYKcmyk(32.2%, 63.2%, 0%, 6.3%)
CIE-LABlab(52.83, 58.13, -64.67)
CIE-LCHlch(52.83, 86.96, 311.95°)
OKLaboklab(61.86% 0.1194 -0.1835)
OKLCHoklch(61.86% 0.219 303.1)
XYZxyz(33.9664, 20.8928, 83.8879)
Luminance0.2089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A258EF #A5EF58
analogous
#585AEF #A258EF #EE58EF
triadic
#A258EF #EFA258 #58EFA2
tetradic
#A258EF #EF585A #A5EF58 #58EFEE
square
#A258EF #EF585A #A5EF58 #58EFEE
split-complementary
#A258EF #EFEE58 #5AEF58
monochromatic
#6512BB #8320EA #A258EF #C190F4 #E0C8FA

Accessibility & contrast

On white

4.06
#A258EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#A258EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A258EF
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A258EF#FFFFFF#000000##000000
##A258EF1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF4
Deuteranopia (green-blind)
#277EEC
Tritanopia (blue-blind)
#93799C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a258ef;
/* rgb */ color: rgb(162, 88, 239);
/* oklch */ color: oklch(61.9% 0.219 303.1);
Tailwind
colors: {
  custom: {
    50: '#c28bf5',
    500: '#a258ef',
    950: '#000000',
  },
}
SCSS
$custom: #a258ef;
$custom-light: #c28bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#a258ef",
  "rgb": {
    "r": 162,
    "g": 88,
    "b": 239
  },
  "hsl": {
    "h": 269.404,
    "s": 82.514,
    "l": 64.118
  },
  "oklch": {
    "l": 0.61859,
    "c": 0.21895,
    "h": 303.1
  },
  "luminance": 0.20893
}

Semantic roles & 50–950 ramp

primary
#A258EF
secondary
#D2ECB7
accent
#DF0775
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #A258EF

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

Preview Lab → · Contrast checker → · Palette generator →

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