#A258CA#A258CA

#A258CA is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.5% C 0.179 H 312.2°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#A258CA
RGBrgb(162, 88, 202)
HSLhsl(279, 52%, 57%)
HSVhsv(279, 56%, 79%)
CMYKcmyk(19.8%, 56.4%, 0%, 20.8%)
CIE-LABlab(50.60, 49.73, -47.29)
CIE-LCHlch(50.60, 68.62, 316.44°)
OKLaboklab(59.52% 0.12 -0.1325)
OKLCHoklch(59.52% 0.179 312.2)
XYZxyz(29.0488, 18.9258, 57.9885)
Luminance0.1893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A258CA #80CA58
analogous
#6958CA #A258CA #CA58B9
triadic
#A258CA #CAA258 #58CAA2
tetradic
#A258CA #CA6958 #80CA58 #58B9CA
square
#A258CA #CA6958 #80CA58 #58B9CA
split-complementary
#A258CA #B9CA58 #58CA69
monochromatic
#61287F #8437AE #A258CA #BC86D9 #D6B5E7

Accessibility & contrast

On white

4.39
#A258CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#A258CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A258CA
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A258CA#FFFFFF#000000##000000
##A258CA1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3675CE
Deuteranopia (green-blind)
#517AC7
Tritanopia (blue-blind)
#9E6C89
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a258ca;
/* rgb */ color: rgb(162, 88, 202);
/* oklch */ color: oklch(59.5% 0.179 312.2);
Tailwind
colors: {
  custom: {
    50: '#c08adb',
    500: '#a258ca',
    950: '#000000',
  },
}
SCSS
$custom: #a258ca;
$custom-light: #c08adb;
$custom-dark: #000000;
JSON
{
  "hex": "#a258ca",
  "rgb": {
    "r": 162,
    "g": 88,
    "b": 202
  },
  "hsl": {
    "h": 278.947,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.5952,
    "c": 0.17881,
    "h": 312.2
  },
  "luminance": 0.18925
}

Semantic roles & 50–950 ramp

primary
#A258CA
secondary
#B8D6A8
accent
#DB4D7F
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A258CA

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

Preview Lab → · Contrast checker → · Palette generator →

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