#A258AF#A258AF

#A258AF is a mid, vivid purple. Relative luminance 0.178; OKLCH L 58.0% C 0.150 H 321.5°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#A258AF
RGBrgb(162, 88, 175)
HSLhsl(291, 35%, 52%)
HSVhsv(291, 50%, 69%)
CMYKcmyk(7.4%, 49.7%, 0%, 31.4%)
CIE-LABlab(49.20, 44.07, -33.86)
CIE-LCHlch(49.20, 55.58, 322.46°)
OKLaboklab(58.03% 0.1175 -0.0936)
OKLCHoklch(58.03% 0.15 321.5)
XYZxyz(26.1270, 17.7571, 42.6003)
Luminance0.1776 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A258AF #65AF58
analogous
#7758AF #A258AF #AF5891
triadic
#A258AF #AFA258 #58AFA2
tetradic
#A258AF #AF7758 #65AF58 #5891AF
square
#A258AF #AF7758 #65AF58 #5891AF
split-complementary
#A258AF #91AF58 #58AF77
monochromatic
#582E5F #7E4188 #A258AF #B981C3 #D0ABD7

Accessibility & contrast

On white

4.61
#A258AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#A258AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A258AF
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A258AF#FFFFFF#000000##FFFFFF
##A258AF1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B70B2
Deuteranopia (green-blind)
#6178AD
Tritanopia (blue-blind)
#A4637B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a258af;
/* rgb */ color: rgb(162, 88, 175);
/* oklch */ color: oklch(58.0% 0.150 321.5);
Tailwind
colors: {
  custom: {
    50: '#bf8ac7',
    500: '#a258af',
    950: '#000000',
  },
}
SCSS
$custom: #a258af;
$custom-light: #bf8ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#a258af",
  "rgb": {
    "r": 162,
    "g": 88,
    "b": 175
  },
  "hsl": {
    "h": 291.034,
    "s": 35.223,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58034,
    "c": 0.15021,
    "h": 321.5
  },
  "luminance": 0.17756
}

Semantic roles & 50–950 ramp

primary
#A258AF
secondary
#A4C59E
accent
#CB5D6D
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#120C13
muted
#817D82

Preview Lab

Preview with #A258AF

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

Preview Lab → · Contrast checker → · Palette generator →

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