#A258D2#A258D2

#A258D2 is a mid, vivid violet. Relative luminance 0.193; OKLCH L 60.0% C 0.187 H 309.9°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#A258D2
RGBrgb(162, 88, 210)
HSLhsl(276, 58%, 58%)
HSVhsv(276, 58%, 82%)
CMYKcmyk(22.9%, 58.1%, 0%, 17.6%)
CIE-LABlab(51.05, 51.49, -51.14)
CIE-LCHlch(51.05, 72.57, 315.19°)
OKLaboklab(60% 0.1203 -0.1438)
OKLCHoklch(60% 0.187 309.9)
XYZxyz(30.0206, 19.3145, 63.1069)
Luminance0.1931 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A258D2 #88D258
analogous
#6558D2 #A258D2 #D258C5
triadic
#A258D2 #D2A258 #58D2A2
tetradic
#A258D2 #D26558 #88D258 #58C5D2
square
#A258D2 #D26558 #88D258 #58C5D2
split-complementary
#A258D2 #C5D258 #58D265
monochromatic
#63258A #8532BB #A258D2 #BD88DF #D8B8EC

Accessibility & contrast

On white

4.32
#A258D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#A258D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A258D2
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A258D2#FFFFFF#000000##000000
##A258D21.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C76D6
Deuteranopia (green-blind)
#4B7BCF
Tritanopia (blue-blind)
#9C6F8D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a258d2;
/* rgb */ color: rgb(162, 88, 210);
/* oklch */ color: oklch(60.0% 0.187 309.9);
Tailwind
colors: {
  custom: {
    50: '#c18ae0',
    500: '#a258d2',
    950: '#000000',
  },
}
SCSS
$custom: #a258d2;
$custom-light: #c18ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#a258d2",
  "rgb": {
    "r": 162,
    "g": 88,
    "b": 210
  },
  "hsl": {
    "h": 276.393,
    "s": 57.547,
    "l": 58.431
  },
  "oklch": {
    "l": 0.59998,
    "c": 0.18747,
    "h": 309.9
  },
  "luminance": 0.19314
}

Semantic roles & 50–950 ramp

primary
#A258D2
secondary
#BEDBAB
accent
#E14784
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A258D2

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

Preview Lab → · Contrast checker → · Palette generator →

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