#A258DF#A258DF

#A258DF is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 60.8% C 0.202 H 306.6°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#A258DF
RGBrgb(162, 88, 223)
HSLhsl(273, 68%, 61%)
HSVhsv(273, 61%, 87%)
CMYKcmyk(27.4%, 60.5%, 0%, 12.5%)
CIE-LABlab(51.82, 54.42, -57.29)
CIE-LCHlch(51.82, 79.02, 313.53°)
OKLaboklab(60.81% 0.1202 -0.1618)
OKLCHoklch(60.81% 0.202 306.6)
XYZxyz(31.7065, 19.9889, 71.9856)
Luminance0.1999 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A258DF #95DF58
analogous
#5E58DF #A258DF #DF58D8
triadic
#A258DF #DFA258 #58DFA2
tetradic
#A258DF #DF5E58 #95DF58 #58D8DF
square
#A258DF #DF5E58 #95DF58 #58D8DF
split-complementary
#A258DF #D8DF58 #58DF5E
monochromatic
#641E9E #8528D2 #A258DF #BF8BE9 #DBBFF3

Accessibility & contrast

On white

4.20
#A258DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#A258DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A258DF
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A258DF#FFFFFF#000000##000000
##A258DF1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1379E3
Deuteranopia (green-blind)
#3E7CDC
Tritanopia (blue-blind)
#987393
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a258df;
/* rgb */ color: rgb(162, 88, 223);
/* oklch */ color: oklch(60.8% 0.202 306.6);
Tailwind
colors: {
  custom: {
    50: '#c18bea',
    500: '#a258df',
    950: '#000000',
  },
}
SCSS
$custom: #a258df;
$custom-light: #c18bea;
$custom-dark: #000000;
JSON
{
  "hex": "#a258df",
  "rgb": {
    "r": 162,
    "g": 88,
    "b": 223
  },
  "hsl": {
    "h": 272.889,
    "s": 67.839,
    "l": 60.98
  },
  "oklch": {
    "l": 0.60808,
    "c": 0.20159,
    "h": 306.6
  },
  "luminance": 0.19989
}

Semantic roles & 50–950 ramp

primary
#A258DF
secondary
#C7E3B0
accent
#D0166A
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A258DF

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

Preview Lab → · Contrast checker → · Palette generator →

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