#A25DCA#A25DCA

#A25DCA is a mid, vivid violet. Relative luminance 0.198; OKLCH L 60.2% C 0.171 H 311.5°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#A25DCA
RGBrgb(162, 93, 202)
HSLhsl(278, 51%, 58%)
HSVhsv(278, 54%, 79%)
CMYKcmyk(19.8%, 54%, 0%, 20.8%)
CIE-LABlab(51.58, 47.13, -45.73)
CIE-LCHlch(51.58, 65.67, 315.86°)
OKLaboklab(60.24% 0.1134 -0.128)
OKLCHoklch(60.24% 0.171 311.5)
XYZxyz(29.4734, 19.7750, 58.1300)
Luminance0.1977 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25DCA #85CA5D
analogous
#6B5DCA #A25DCA #CA5DBB
triadic
#A25DCA #CAA25D #5DCAA2
tetradic
#A25DCA #CA6B5D #85CA5D #5DBBCA
square
#A25DCA #CA6B5D #85CA5D #5DBBCA
split-complementary
#A25DCA #BBCA5D #5DCA6B
monochromatic
#622B82 #853AB0 #A25DCA #BC8BD9 #D7B9E8

Accessibility & contrast

On white

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

On black

4.95
#A25DCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A25DCA
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A25DCA#FFFFFF#000000##000000
##A25DCA1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F77CE
Deuteranopia (green-blind)
#567CC7
Tritanopia (blue-blind)
#9E708B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a25dca;
/* rgb */ color: rgb(162, 93, 202);
/* oklch */ color: oklch(60.2% 0.171 311.5);
Tailwind
colors: {
  custom: {
    50: '#c08dda',
    500: '#a25dca',
    950: '#000000',
  },
}
SCSS
$custom: #a25dca;
$custom-light: #c08dda;
$custom-dark: #000000;
JSON
{
  "hex": "#a25dca",
  "rgb": {
    "r": 162,
    "g": 93,
    "b": 202
  },
  "hsl": {
    "h": 277.982,
    "s": 50.698,
    "l": 57.843
  },
  "oklch": {
    "l": 0.60241,
    "c": 0.17104,
    "h": 311.5
  },
  "luminance": 0.19774
}

Semantic roles & 50–950 ramp

primary
#A25DCA
secondary
#BCD7AC
accent
#DA4E81
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #A25DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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