#A258BC#A258BC

#A258BC is a mid, vivid purple. Relative luminance 0.183; OKLCH L 58.7% C 0.164 H 316.6°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#A258BC
RGBrgb(162, 88, 188)
HSLhsl(284, 43%, 54%)
HSVhsv(284, 53%, 74%)
CMYKcmyk(13.8%, 53.2%, 0%, 26.3%)
CIE-LABlab(49.85, 46.73, -40.41)
CIE-LCHlch(49.85, 61.78, 319.15°)
OKLaboklab(58.73% 0.1191 -0.1125)
OKLCHoklch(58.73% 0.164 316.6)
XYZxyz(27.4658, 18.2926, 49.6512)
Luminance0.1829 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A258BC #72BC58
analogous
#7058BC #A258BC #BC58A4
triadic
#A258BC #BCA258 #58BCA2
tetradic
#A258BC #BC7058 #72BC58 #58A4BC
square
#A258BC #BC7058 #72BC58 #58A4BC
split-complementary
#A258BC #A4BC58 #58BC70
monochromatic
#5D2C6E #813E99 #A258BC #BA84CE #D3AFDF

Accessibility & contrast

On white

4.51
#A258BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#A258BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A258BC
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A258BC#FFFFFF#000000##000000
##A258BC1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4272BF
Deuteranopia (green-blind)
#5A79B9
Tritanopia (blue-blind)
#A16782
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a258bc;
/* rgb */ color: rgb(162, 88, 188);
/* oklch */ color: oklch(58.7% 0.164 316.6);
Tailwind
colors: {
  custom: {
    50: '#c08ad0',
    500: '#a258bc',
    950: '#000000',
  },
}
SCSS
$custom: #a258bc;
$custom-light: #c08ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#a258bc",
  "rgb": {
    "r": 162,
    "g": 88,
    "b": 188
  },
  "hsl": {
    "h": 284.4,
    "s": 42.735,
    "l": 54.118
  },
  "oklch": {
    "l": 0.58725,
    "c": 0.1638,
    "h": 316.6
  },
  "luminance": 0.18292
}

Semantic roles & 50–950 ramp

primary
#A258BC
secondary
#AECDA3
accent
#D35576
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #A258BC

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

Preview Lab → · Contrast checker → · Palette generator →

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