#A258DB#A258DB

#A258DB is a mid, vivid violet. Relative luminance 0.198; OKLCH L 60.6% C 0.197 H 307.6°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#A258DB
RGBrgb(162, 88, 219)
HSLhsl(274, 65%, 60%)
HSVhsv(274, 60%, 86%)
CMYKcmyk(26%, 59.8%, 0%, 14.1%)
CIE-LABlab(51.58, 53.51, -55.41)
CIE-LCHlch(51.58, 77.03, 314.00°)
OKLaboklab(60.55% 0.1203 -0.1563)
OKLCHoklch(60.55% 0.197 307.6)
XYZxyz(31.1736, 19.7757, 69.1790)
Luminance0.1978 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A258DB #91DB58
analogous
#6058DB #A258DB #DB58D3
triadic
#A258DB #DBA258 #58DBA2
tetradic
#A258DB #DB6058 #91DB58 #58D3DB
square
#A258DB #DB6058 #91DB58 #58D3DB
split-complementary
#A258DB #D3DB58 #58DB60
monochromatic
#642198 #852CCA #A258DB #BE8AE6 #DABDF1

Accessibility & contrast

On white

4.24
#A258DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#A258DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A258DB
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A258DB#FFFFFF#000000##000000
##A258DB1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D78DF
Deuteranopia (green-blind)
#427CD8
Tritanopia (blue-blind)
#997291
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a258db;
/* rgb */ color: rgb(162, 88, 219);
/* oklch */ color: oklch(60.6% 0.197 307.6);
Tailwind
colors: {
  custom: {
    50: '#c18be7',
    500: '#a258db',
    950: '#000000',
  },
}
SCSS
$custom: #a258db;
$custom-light: #c18be7;
$custom-dark: #000000;
JSON
{
  "hex": "#a258db",
  "rgb": {
    "r": 162,
    "g": 88,
    "b": 219
  },
  "hsl": {
    "h": 273.893,
    "s": 64.532,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60554,
    "c": 0.19725,
    "h": 307.6
  },
  "luminance": 0.19775
}

Semantic roles & 50–950 ramp

primary
#A258DB
secondary
#C4E1AE
accent
#CC1967
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A258DB

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

Preview Lab → · Contrast checker → · Palette generator →

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