#A258DC#A258DC

#A258DC is a mid, vivid violet. Relative luminance 0.198; OKLCH L 60.6% C 0.198 H 307.3°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#A258DC
RGBrgb(162, 88, 220)
HSLhsl(274, 65%, 60%)
HSVhsv(274, 60%, 86%)
CMYKcmyk(26.4%, 60%, 0%, 13.7%)
CIE-LABlab(51.64, 53.74, -55.89)
CIE-LCHlch(51.64, 77.53, 313.88°)
OKLaboklab(60.62% 0.1203 -0.1577)
OKLCHoklch(60.62% 0.198 307.3)
XYZxyz(31.3056, 19.8285, 69.8744)
Luminance0.1983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A258DC #92DC58
analogous
#6058DC #A258DC #DC58D4
triadic
#A258DC #DCA258 #58DCA2
tetradic
#A258DC #DC6058 #92DC58 #58D4DC
square
#A258DC #DC6058 #92DC58 #58D4DC
split-complementary
#A258DC #D4DC58 #58DC60
monochromatic
#642099 #852BCC #A258DC #BE8BE7 #DABDF1

Accessibility & contrast

On white

4.23
#A258DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#A258DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A258DC
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A258DC#FFFFFF#000000##000000
##A258DC1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B78E0
Deuteranopia (green-blind)
#417CD9
Tritanopia (blue-blind)
#997292
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a258dc;
/* rgb */ color: rgb(162, 88, 220);
/* oklch */ color: oklch(60.6% 0.198 307.3);
Tailwind
colors: {
  custom: {
    50: '#c18be7',
    500: '#a258dc',
    950: '#000000',
  },
}
SCSS
$custom: #a258dc;
$custom-light: #c18be7;
$custom-dark: #000000;
JSON
{
  "hex": "#a258dc",
  "rgb": {
    "r": 162,
    "g": 88,
    "b": 220
  },
  "hsl": {
    "h": 273.636,
    "s": 65.347,
    "l": 60.392
  },
  "oklch": {
    "l": 0.60617,
    "c": 0.19834,
    "h": 307.3
  },
  "luminance": 0.19828
}

Semantic roles & 50–950 ramp

primary
#A258DC
secondary
#C5E1AF
accent
#CD1868
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A258DC

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

Preview Lab → · Contrast checker → · Palette generator →

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