#A258BD#A258BD

#A258BD is a mid, vivid purple. Relative luminance 0.183; OKLCH L 58.8% C 0.165 H 316.3°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#A258BD
RGBrgb(162, 88, 189)
HSLhsl(284, 43%, 54%)
HSVhsv(284, 53%, 74%)
CMYKcmyk(14.3%, 53.4%, 0%, 25.9%)
CIE-LABlab(49.90, 46.94, -40.90)
CIE-LCHlch(49.90, 62.26, 318.93°)
OKLaboklab(58.78% 0.1191 -0.1139)
OKLCHoklch(58.78% 0.165 316.3)
XYZxyz(27.5739, 18.3358, 50.2209)
Luminance0.1834 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A258BD #73BD58
analogous
#6F58BD #A258BD #BD58A6
triadic
#A258BD #BDA258 #58BDA2
tetradic
#A258BD #BD6F58 #73BD58 #58A6BD
square
#A258BD #BD6F58 #73BD58 #58A6BD
split-complementary
#A258BD #A6BD58 #58BD6F
monochromatic
#5D2C6F #823D9B #A258BD #BA84CE #D3B0E0

Accessibility & contrast

On white

4.50
#A258BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#A258BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A258BD
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A258BD#FFFFFF#000000##000000
##A258BD1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4172C0
Deuteranopia (green-blind)
#5979BA
Tritanopia (blue-blind)
#A16882
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a258bd;
/* rgb */ color: rgb(162, 88, 189);
/* oklch */ color: oklch(58.8% 0.165 316.3);
Tailwind
colors: {
  custom: {
    50: '#c08ad1',
    500: '#a258bd',
    950: '#000000',
  },
}
SCSS
$custom: #a258bd;
$custom-light: #c08ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#a258bd",
  "rgb": {
    "r": 162,
    "g": 88,
    "b": 189
  },
  "hsl": {
    "h": 283.96,
    "s": 43.348,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5878,
    "c": 0.16486,
    "h": 316.3
  },
  "luminance": 0.18335
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A258BD

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

Preview Lab → · Contrast checker → · Palette generator →

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