#A258CD#A258CD

#A258CD is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.7% C 0.182 H 311.3°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#A258CD
RGBrgb(162, 88, 205)
HSLhsl(278, 54%, 57%)
HSVhsv(278, 57%, 80%)
CMYKcmyk(21%, 57.1%, 0%, 19.6%)
CIE-LABlab(50.77, 50.38, -48.74)
CIE-LCHlch(50.77, 70.10, 315.95°)
OKLaboklab(59.7% 0.1201 -0.1368)
OKLCHoklch(59.7% 0.182 311.3)
XYZxyz(29.4074, 19.0692, 59.8774)
Luminance0.1907 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A258CD #83CD58
analogous
#6858CD #A258CD #CD58BD
triadic
#A258CD #CDA258 #58CDA2
tetradic
#A258CD #CD6858 #83CD58 #58BDCD
square
#A258CD #CD6858 #83CD58 #58BDCD
split-complementary
#A258CD #BDCD58 #58CD68
monochromatic
#612783 #8435B2 #A258CD #BC87DB #D6B6E9

Accessibility & contrast

On white

4.36
#A258CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#A258CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A258CD
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A258CD#FFFFFF#000000##000000
##A258CD1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3375D1
Deuteranopia (green-blind)
#4F7ACA
Tritanopia (blue-blind)
#9D6D8A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a258cd;
/* rgb */ color: rgb(162, 88, 205);
/* oklch */ color: oklch(59.7% 0.182 311.3);
Tailwind
colors: {
  custom: {
    50: '#c08add',
    500: '#a258cd',
    950: '#000000',
  },
}
SCSS
$custom: #a258cd;
$custom-light: #c08add;
$custom-dark: #000000;
JSON
{
  "hex": "#a258cd",
  "rgb": {
    "r": 162,
    "g": 88,
    "b": 205
  },
  "hsl": {
    "h": 277.949,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.59697,
    "c": 0.18206,
    "h": 311.3
  },
  "luminance": 0.19069
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A258CD

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

Preview Lab → · Contrast checker → · Palette generator →

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