#A258E6#A258E6

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

Color values

HEX#A258E6
RGBrgb(162, 88, 230)
HSLhsl(271, 74%, 62%)
HSVhsv(271, 62%, 90%)
CMYKcmyk(29.6%, 61.7%, 0%, 9.8%)
CIE-LABlab(52.26, 56.03, -60.55)
CIE-LCHlch(52.26, 82.49, 312.78°)
OKLaboklab(61.26% 0.12 -0.1714)
OKLCHoklch(61.26% 0.209 305)
XYZxyz(32.6698, 20.3742, 77.0591)
Luminance0.2037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A258E6 #9CE658
analogous
#5B58E6 #A258E6 #E658E3
triadic
#A258E6 #E6A258 #58E6A2
tetradic
#A258E6 #E65B58 #9CE658 #58E3E6
square
#A258E6 #E65B58 #9CE658 #58E3E6
split-complementary
#A258E6 #E3E658 #58E65B
monochromatic
#6519AA #8423DE #A258E6 #C08DEE #DDC2F6

Accessibility & contrast

On white

4.14
#A258E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#A258E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A258E6
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A258E6#FFFFFF#000000##000000
##A258E61.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEA
Deuteranopia (green-blind)
#367DE3
Tritanopia (blue-blind)
#967597
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a258e6;
/* rgb */ color: rgb(162, 88, 230);
/* oklch */ color: oklch(61.3% 0.209 305.0);
Tailwind
colors: {
  custom: {
    50: '#c28bef',
    500: '#a258e6',
    950: '#000000',
  },
}
SCSS
$custom: #a258e6;
$custom-light: #c28bef;
$custom-dark: #000000;
JSON
{
  "hex": "#a258e6",
  "rgb": {
    "r": 162,
    "g": 88,
    "b": 230
  },
  "hsl": {
    "h": 271.268,
    "s": 73.958,
    "l": 62.353
  },
  "oklch": {
    "l": 0.6126,
    "c": 0.20919,
    "h": 305
  },
  "luminance": 0.20374
}

Semantic roles & 50–950 ramp

primary
#A258E6
secondary
#CCE7B3
accent
#D60F6F
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A258E6

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

Preview Lab → · Contrast checker → · Palette generator →

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