#A258D3#A258D3

#A258D3 is a mid, vivid violet. Relative luminance 0.194; OKLCH L 60.1% C 0.189 H 309.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#A258D3
RGBrgb(162, 88, 211)
HSLhsl(276, 58%, 59%)
HSVhsv(276, 58%, 83%)
CMYKcmyk(23.2%, 58.3%, 0%, 17.3%)
CIE-LABlab(51.11, 51.71, -51.62)
CIE-LCHlch(51.11, 73.07, 315.05°)
OKLaboklab(60.06% 0.1203 -0.1452)
OKLCHoklch(60.06% 0.189 309.6)
XYZxyz(30.1456, 19.3645, 63.7651)
Luminance0.1936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A258D3 #89D358
analogous
#6458D3 #A258D3 #D358C6
triadic
#A258D3 #D3A258 #58D3A2
tetradic
#A258D3 #D36458 #89D358 #58C6D3
square
#A258D3 #D36458 #89D358 #58C6D3
split-complementary
#A258D3 #C6D358 #58D364
monochromatic
#63258C #8532BC #A258D3 #BD88E0 #D8B9ED

Accessibility & contrast

On white

4.31
#A258D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#A258D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A258D3
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A258D3#FFFFFF#000000##000000
##A258D31.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B76D7
Deuteranopia (green-blind)
#4A7BD0
Tritanopia (blue-blind)
#9B6F8D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a258d3;
/* rgb */ color: rgb(162, 88, 211);
/* oklch */ color: oklch(60.1% 0.189 309.6);
Tailwind
colors: {
  custom: {
    50: '#c18ae1',
    500: '#a258d3',
    950: '#000000',
  },
}
SCSS
$custom: #a258d3;
$custom-light: #c18ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#a258d3",
  "rgb": {
    "r": 162,
    "g": 88,
    "b": 211
  },
  "hsl": {
    "h": 276.098,
    "s": 58.294,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60059,
    "c": 0.18856,
    "h": 309.6
  },
  "luminance": 0.19364
}

Semantic roles & 50–950 ramp

primary
#A258D3
secondary
#BEDCAB
accent
#E24684
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A258D3

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

Preview Lab → · Contrast checker → · Palette generator →

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