#A658DF#A658DF

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

Color values

HEX#A658DF
RGBrgb(166, 88, 223)
HSLhsl(275, 68%, 61%)
HSVhsv(275, 61%, 87%)
CMYKcmyk(25.6%, 60.5%, 0%, 12.5%)
CIE-LABlab(52.30, 55.34, -56.50)
CIE-LCHlch(52.30, 79.09, 314.41°)
OKLaboklab(61.26% 0.1253 -0.1594)
OKLCHoklch(61.26% 0.203 308.2)
XYZxyz(32.5322, 20.4146, 72.0243)
Luminance0.2041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A658DF #91DF58
analogous
#6258DF #A658DF #DF58D4
triadic
#A658DF #DFA658 #58DFA6
tetradic
#A658DF #DF6258 #91DF58 #58D4DF
square
#A658DF #DF6258 #91DF58 #58D4DF
split-complementary
#A658DF #D4DF58 #58DF62
monochromatic
#681E9E #8A28D2 #A658DF #C18BE9 #DDBFF3

Accessibility & contrast

On white

4.13
#A658DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#A658DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A658DF
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A658DF#FFFFFF#000000##000000
##A658DF1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#197AE3
Deuteranopia (green-blind)
#437EDC
Tritanopia (blue-blind)
#9D7393
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a658df;
/* rgb */ color: rgb(166, 88, 223);
/* oklch */ color: oklch(61.3% 0.203 308.2);
Tailwind
colors: {
  custom: {
    50: '#c48bea',
    500: '#a658df',
    950: '#000000',
  },
}
SCSS
$custom: #a658df;
$custom-light: #c48bea;
$custom-dark: #000000;
JSON
{
  "hex": "#a658df",
  "rgb": {
    "r": 166,
    "g": 88,
    "b": 223
  },
  "hsl": {
    "h": 274.667,
    "s": 67.839,
    "l": 60.98
  },
  "oklch": {
    "l": 0.6126,
    "c": 0.20273,
    "h": 308.2
  },
  "luminance": 0.20414
}

Semantic roles & 50–950 ramp

primary
#A658DF
secondary
#C5E3B0
accent
#D01664
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A658DF

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

Preview Lab → · Contrast checker → · Palette generator →

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