#A258C8#A258C8

#A258C8 is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.4% C 0.177 H 312.8°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#A258C8
RGBrgb(162, 88, 200)
HSLhsl(280, 50%, 56%)
HSVhsv(280, 56%, 78%)
CMYKcmyk(19%, 56%, 0%, 21.6%)
CIE-LABlab(50.49, 49.29, -46.31)
CIE-LCHlch(50.49, 67.64, 316.78°)
OKLaboklab(59.4% 0.1199 -0.1297)
OKLCHoklch(59.4% 0.177 312.8)
XYZxyz(28.8135, 18.8317, 56.7494)
Luminance0.1883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A258C8 #7EC858
analogous
#6A58C8 #A258C8 #C858B6
triadic
#A258C8 #C8A258 #58C8A2
tetradic
#A258C8 #C86A58 #7EC858 #58B6C8
square
#A258C8 #C86A58 #7EC858 #58B6C8
split-complementary
#A258C8 #B6C858 #58C86A
monochromatic
#60297D #8438AB #A258C8 #BC86D7 #D5B4E6

Accessibility & contrast

On white

4.41
#A258C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#A258C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A258C8
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A258C8#FFFFFF#000000##000000
##A258C81.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3874CC
Deuteranopia (green-blind)
#527AC5
Tritanopia (blue-blind)
#9E6B88
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a258c8;
/* rgb */ color: rgb(162, 88, 200);
/* oklch */ color: oklch(59.4% 0.177 312.8);
Tailwind
colors: {
  custom: {
    50: '#c08ad9',
    500: '#a258c8',
    950: '#000000',
  },
}
SCSS
$custom: #a258c8;
$custom-light: #c08ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#a258c8",
  "rgb": {
    "r": 162,
    "g": 88,
    "b": 200
  },
  "hsl": {
    "h": 279.643,
    "s": 50.45,
    "l": 56.471
  },
  "oklch": {
    "l": 0.59403,
    "c": 0.17665,
    "h": 312.8
  },
  "luminance": 0.18831
}

Semantic roles & 50–950 ramp

primary
#A258C8
secondary
#B7D5A7
accent
#DA4E7D
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C15
muted
#827D83

Preview Lab

Preview with #A258C8

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

Preview Lab → · Contrast checker → · Palette generator →

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