#A258DD#A258DD

#A258DD is a mid, vivid violet. Relative luminance 0.199; OKLCH L 60.7% C 0.199 H 307.1°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#A258DD
RGBrgb(162, 88, 221)
HSLhsl(273, 66%, 61%)
HSVhsv(273, 60%, 87%)
CMYKcmyk(26.7%, 60.2%, 0%, 13.3%)
CIE-LABlab(51.70, 53.97, -56.35)
CIE-LCHlch(51.70, 78.03, 313.76°)
OKLaboklab(60.68% 0.1202 -0.1591)
OKLCHoklch(60.68% 0.199 307.1)
XYZxyz(31.4384, 19.8816, 70.5739)
Luminance0.1988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A258DD #93DD58
analogous
#5F58DD #A258DD #DD58D6
triadic
#A258DD #DDA258 #58DDA2
tetradic
#A258DD #DD5F58 #93DD58 #58D6DD
square
#A258DD #DD5F58 #93DD58 #58D6DD
split-complementary
#A258DD #D6DD58 #58DD5F
monochromatic
#64209B #852ACE #A258DD #BE8BE7 #DBBEF2

Accessibility & contrast

On white

4.22
#A258DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#A258DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A258DD
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A258DD#FFFFFF#000000##000000
##A258DD1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1979E1
Deuteranopia (green-blind)
#407CDA
Tritanopia (blue-blind)
#997292
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a258dd;
/* rgb */ color: rgb(162, 88, 221);
/* oklch */ color: oklch(60.7% 0.199 307.1);
Tailwind
colors: {
  custom: {
    50: '#c18be8',
    500: '#a258dd',
    950: '#000000',
  },
}
SCSS
$custom: #a258dd;
$custom-light: #c18be8;
$custom-dark: #000000;
JSON
{
  "hex": "#a258dd",
  "rgb": {
    "r": 162,
    "g": 88,
    "b": 221
  },
  "hsl": {
    "h": 273.383,
    "s": 66.169,
    "l": 60.588
  },
  "oklch": {
    "l": 0.6068,
    "c": 0.19942,
    "h": 307.1
  },
  "luminance": 0.19881
}

Semantic roles & 50–950 ramp

primary
#A258DD
secondary
#C6E2AF
accent
#CE1768
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A258DD

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

Preview Lab → · Contrast checker → · Palette generator →

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