#A258CC#A258CC

#A258CC is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.6% C 0.181 H 311.6°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#A258CC
RGBrgb(162, 88, 204)
HSLhsl(278, 53%, 57%)
HSVhsv(278, 57%, 80%)
CMYKcmyk(20.6%, 56.9%, 0%, 20%)
CIE-LABlab(50.71, 50.16, -48.26)
CIE-LCHlch(50.71, 69.61, 316.11°)
OKLaboklab(59.64% 0.1201 -0.1354)
OKLCHoklch(59.64% 0.181 311.6)
XYZxyz(29.2871, 19.0211, 59.2437)
Luminance0.1902 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A258CC #82CC58
analogous
#6858CC #A258CC #CC58BC
triadic
#A258CC #CCA258 #58CCA2
tetradic
#A258CC #CC6858 #82CC58 #58BCCC
square
#A258CC #CC6858 #82CC58 #58BCCC
split-complementary
#A258CC #BCCC58 #58CC68
monochromatic
#612882 #8436B1 #A258CC #BC87DA #D6B6E9

Accessibility & contrast

On white

4.37
#A258CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#A258CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A258CC
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A258CC#FFFFFF#000000##000000
##A258CC1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3475D0
Deuteranopia (green-blind)
#4F7AC9
Tritanopia (blue-blind)
#9D6D8A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a258cc;
/* rgb */ color: rgb(162, 88, 204);
/* oklch */ color: oklch(59.6% 0.181 311.6);
Tailwind
colors: {
  custom: {
    50: '#c08adc',
    500: '#a258cc',
    950: '#000000',
  },
}
SCSS
$custom: #a258cc;
$custom-light: #c08adc;
$custom-dark: #000000;
JSON
{
  "hex": "#a258cc",
  "rgb": {
    "r": 162,
    "g": 88,
    "b": 204
  },
  "hsl": {
    "h": 278.276,
    "s": 53.211,
    "l": 57.255
  },
  "oklch": {
    "l": 0.59638,
    "c": 0.18097,
    "h": 311.6
  },
  "luminance": 0.1902
}

Semantic roles & 50–950 ramp

primary
#A258CC
secondary
#B9D7A8
accent
#DD4B80
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A258CC

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

Preview Lab → · Contrast checker → · Palette generator →

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