#A258DE#A258DE

#A258DE is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.7% C 0.201 H 306.8°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#A258DE
RGBrgb(162, 88, 222)
HSLhsl(273, 67%, 61%)
HSVhsv(273, 60%, 87%)
CMYKcmyk(27%, 60.4%, 0%, 12.9%)
CIE-LABlab(51.76, 54.19, -56.82)
CIE-LCHlch(51.76, 78.52, 313.64°)
OKLaboklab(60.74% 0.1202 -0.1605)
OKLCHoklch(60.74% 0.201 306.8)
XYZxyz(31.5721, 19.9351, 71.2777)
Luminance0.1993 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A258DE #94DE58
analogous
#5F58DE #A258DE #DE58D7
triadic
#A258DE #DEA258 #58DEA2
tetradic
#A258DE #DE5F58 #94DE58 #58D7DE
square
#A258DE #DE5F58 #94DE58 #58D7DE
split-complementary
#A258DE #D7DE58 #58DE5F
monochromatic
#641F9D #8529D0 #A258DE #BE8BE8 #DBBEF2

Accessibility & contrast

On white

4.21
#A258DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#A258DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A258DE
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A258DE#FFFFFF#000000##000000
##A258DE1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1679E2
Deuteranopia (green-blind)
#3F7CDB
Tritanopia (blue-blind)
#987393
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a258de;
/* rgb */ color: rgb(162, 88, 222);
/* oklch */ color: oklch(60.7% 0.201 306.8);
Tailwind
colors: {
  custom: {
    50: '#c18be9',
    500: '#a258de',
    950: '#000000',
  },
}
SCSS
$custom: #a258de;
$custom-light: #c18be9;
$custom-dark: #000000;
JSON
{
  "hex": "#a258de",
  "rgb": {
    "r": 162,
    "g": 88,
    "b": 222
  },
  "hsl": {
    "h": 273.134,
    "s": 67,
    "l": 60.784
  },
  "oklch": {
    "l": 0.60744,
    "c": 0.20051,
    "h": 306.8
  },
  "luminance": 0.19935
}

Semantic roles & 50–950 ramp

primary
#A258DE
secondary
#C6E2B0
accent
#CF1769
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A258DE

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

Preview Lab → · Contrast checker → · Palette generator →

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