#A258D0#A258D0

#A258D0 is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.9% C 0.185 H 310.4°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#A258D0
RGBrgb(162, 88, 208)
HSLhsl(277, 56%, 58%)
HSVhsv(277, 58%, 82%)
CMYKcmyk(22.1%, 57.7%, 0%, 18.4%)
CIE-LABlab(50.94, 51.04, -50.18)
CIE-LCHlch(50.94, 71.58, 315.49°)
OKLaboklab(59.88% 0.1202 -0.141)
OKLCHoklch(59.88% 0.185 310.4)
XYZxyz(29.7730, 19.2155, 61.8028)
Luminance0.1921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A258D0 #86D058
analogous
#6658D0 #A258D0 #D058C2
triadic
#A258D0 #D0A258 #58D0A2
tetradic
#A258D0 #D06658 #86D058 #58C2D0
square
#A258D0 #D06658 #86D058 #58C2D0
split-complementary
#A258D0 #C2D058 #58D066
monochromatic
#622687 #8534B7 #A258D0 #BD88DD #D7B8EB

Accessibility & contrast

On white

4.34
#A258D0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#A258D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A258D0
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A258D0#FFFFFF#000000##000000
##A258D01.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F76D4
Deuteranopia (green-blind)
#4C7BCD
Tritanopia (blue-blind)
#9C6E8C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a258d0;
/* rgb */ color: rgb(162, 88, 208);
/* oklch */ color: oklch(59.9% 0.185 310.4);
Tailwind
colors: {
  custom: {
    50: '#c18adf',
    500: '#a258d0',
    950: '#000000',
  },
}
SCSS
$custom: #a258d0;
$custom-light: #c18adf;
$custom-dark: #000000;
JSON
{
  "hex": "#a258d0",
  "rgb": {
    "r": 162,
    "g": 88,
    "b": 208
  },
  "hsl": {
    "h": 277,
    "s": 56.075,
    "l": 58.039
  },
  "oklch": {
    "l": 0.59877,
    "c": 0.1853,
    "h": 310.4
  },
  "luminance": 0.19215
}

Semantic roles & 50–950 ramp

primary
#A258D0
secondary
#BCDAAA
accent
#DF4882
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A258D0

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

Preview Lab → · Contrast checker → · Palette generator →

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