#A258CE#A258CE

#A258CE is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.8% C 0.183 H 311.0°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#A258CE
RGBrgb(162, 88, 206)
HSLhsl(278, 55%, 58%)
HSVhsv(278, 57%, 81%)
CMYKcmyk(21.4%, 57.3%, 0%, 19.2%)
CIE-LABlab(50.82, 50.60, -49.22)
CIE-LCHlch(50.82, 70.59, 315.79°)
OKLaboklab(59.76% 0.1202 -0.1382)
OKLCHoklch(59.76% 0.183 311)
XYZxyz(29.5285, 19.1177, 60.5151)
Luminance0.1912 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A258CE #84CE58
analogous
#6758CE #A258CE #CE58BF
triadic
#A258CE #CEA258 #58CEA2
tetradic
#A258CE #CE6758 #84CE58 #58BFCE
square
#A258CE #CE6758 #84CE58 #58BFCE
split-complementary
#A258CE #BFCE58 #58CE67
monochromatic
#622785 #8535B4 #A258CE #BC87DC #D7B7EA

Accessibility & contrast

On white

4.35
#A258CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#A258CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A258CE
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A258CE#FFFFFF#000000##000000
##A258CE1.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3175D2
Deuteranopia (green-blind)
#4E7ACB
Tritanopia (blue-blind)
#9D6D8B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a258ce;
/* rgb */ color: rgb(162, 88, 206);
/* oklch */ color: oklch(59.8% 0.183 311.0);
Tailwind
colors: {
  custom: {
    50: '#c08add',
    500: '#a258ce',
    950: '#000000',
  },
}
SCSS
$custom: #a258ce;
$custom-light: #c08add;
$custom-dark: #000000;
JSON
{
  "hex": "#a258ce",
  "rgb": {
    "r": 162,
    "g": 88,
    "b": 206
  },
  "hsl": {
    "h": 277.627,
    "s": 54.63,
    "l": 57.647
  },
  "oklch": {
    "l": 0.59757,
    "c": 0.18314,
    "h": 311
  },
  "luminance": 0.19117
}

Semantic roles & 50–950 ramp

primary
#A258CE
secondary
#BBD9A9
accent
#DE4A81
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A258CE

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

Preview Lab → · Contrast checker → · Palette generator →

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