#A25CD1#A25CD1

#A25CD1 is a mid, vivid violet. Relative luminance 0.199; OKLCH L 60.5% C 0.180 H 309.7°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#A25CD1
RGBrgb(162, 92, 209)
HSLhsl(276, 56%, 59%)
HSVhsv(276, 56%, 82%)
CMYKcmyk(22.5%, 56%, 0%, 18%)
CIE-LABlab(51.77, 49.21, -49.43)
CIE-LCHlch(51.77, 69.75, 314.87°)
OKLaboklab(60.5% 0.1151 -0.1388)
OKLCHoklch(60.5% 0.18 309.7)
XYZxyz(30.2339, 19.9397, 62.5653)
Luminance0.1994 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25CD1 #8BD15C
analogous
#685CD1 #A25CD1 #D15CC6
triadic
#A25CD1 #D1A25C #5CD1A2
tetradic
#A25CD1 #D1685C #8BD15C #5CC6D1
square
#A25CD1 #D1685C #8BD15C #5CC6D1
split-complementary
#A25CD1 #C6D15C #5CD168
monochromatic
#63278B #8535BB #A25CD1 #BD8CDE #D8BBEC

Accessibility & contrast

On white

4.21
#A25CD1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#A25CD1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A25CD1
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A25CD1#FFFFFF#000000##000000
##A25CD11.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3678D5
Deuteranopia (green-blind)
#507DCE
Tritanopia (blue-blind)
#9C718E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a25cd1;
/* rgb */ color: rgb(162, 92, 209);
/* oklch */ color: oklch(60.5% 0.180 309.7);
Tailwind
colors: {
  custom: {
    50: '#c08de0',
    500: '#a25cd1',
    950: '#000000',
  },
}
SCSS
$custom: #a25cd1;
$custom-light: #c08de0;
$custom-dark: #000000;
JSON
{
  "hex": "#a25cd1",
  "rgb": {
    "r": 162,
    "g": 92,
    "b": 209
  },
  "hsl": {
    "h": 275.897,
    "s": 55.981,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60503,
    "c": 0.18036,
    "h": 309.7
  },
  "luminance": 0.19939
}

Semantic roles & 50–950 ramp

primary
#A25CD1
secondary
#C0DBAD
accent
#DF4985
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A25CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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