#A258BB#A258BB

#A258BB is a mid, vivid purple. Relative luminance 0.182; OKLCH L 58.7% C 0.163 H 317.0°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#A258BB
RGBrgb(162, 88, 187)
HSLhsl(285, 42%, 54%)
HSVhsv(285, 53%, 73%)
CMYKcmyk(13.4%, 52.9%, 0%, 26.7%)
CIE-LABlab(49.80, 46.52, -39.91)
CIE-LCHlch(49.80, 61.30, 319.37°)
OKLaboklab(58.67% 0.119 -0.1111)
OKLCHoklch(58.67% 0.163 317)
XYZxyz(27.3584, 18.2496, 49.0855)
Luminance0.1825 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A258BB #71BB58
analogous
#7158BB #A258BB #BB58A3
triadic
#A258BB #BBA258 #58BBA2
tetradic
#A258BB #BB7158 #71BB58 #58A3BB
square
#A258BB #BB7158 #71BB58 #58A3BB
split-complementary
#A258BB #A3BB58 #58BB71
monochromatic
#5C2C6C #813E98 #A258BB #BA83CD #D2AFDE

Accessibility & contrast

On white

4.52
#A258BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#A258BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A258BB
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A258BB#FFFFFF#000000##000000
##A258BB1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4372BE
Deuteranopia (green-blind)
#5A79B8
Tritanopia (blue-blind)
#A16781
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a258bb;
/* rgb */ color: rgb(162, 88, 187);
/* oklch */ color: oklch(58.7% 0.163 317.0);
Tailwind
colors: {
  custom: {
    50: '#c08ad0',
    500: '#a258bb',
    950: '#000000',
  },
}
SCSS
$custom: #a258bb;
$custom-light: #c08ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#a258bb",
  "rgb": {
    "r": 162,
    "g": 88,
    "b": 187
  },
  "hsl": {
    "h": 284.848,
    "s": 42.128,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5867,
    "c": 0.16274,
    "h": 317
  },
  "luminance": 0.18249
}

Semantic roles & 50–950 ramp

primary
#A258BB
secondary
#ADCDA2
accent
#D25675
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #A258BB

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

Preview Lab → · Contrast checker → · Palette generator →

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