#A25CD2#A25CD2

#A25CD2 is a mid, vivid violet. Relative luminance 0.200; OKLCH L 60.6% C 0.181 H 309.4°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#A25CD2
RGBrgb(162, 92, 210)
HSLhsl(276, 57%, 59%)
HSVhsv(276, 56%, 82%)
CMYKcmyk(22.9%, 56.2%, 0%, 17.6%)
CIE-LABlab(51.83, 49.43, -49.91)
CIE-LCHlch(51.83, 70.25, 314.72°)
OKLaboklab(60.56% 0.1152 -0.1402)
OKLCHoklch(60.56% 0.181 309.4)
XYZxyz(30.3581, 19.9893, 63.2193)
Luminance0.1999 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25CD2 #8CD25C
analogous
#675CD2 #A25CD2 #D25CC7
triadic
#A25CD2 #D2A25C #5CD2A2
tetradic
#A25CD2 #D2675C #8CD25C #5CC7D2
square
#A25CD2 #D2675C #8CD25C #5CC7D2
split-complementary
#A25CD2 #C7D25C #5CD267
monochromatic
#63278D #8534BD #A25CD2 #BD8CDF #D9BCEC

Accessibility & contrast

On white

4.20
#A25CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#A25CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A25CD2
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A25CD2#FFFFFF#000000##000000
##A25CD21.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3578D6
Deuteranopia (green-blind)
#4F7DCF
Tritanopia (blue-blind)
#9C718E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a25cd2;
/* rgb */ color: rgb(162, 92, 210);
/* oklch */ color: oklch(60.6% 0.181 309.4);
Tailwind
colors: {
  custom: {
    50: '#c08de0',
    500: '#a25cd2',
    950: '#000000',
  },
}
SCSS
$custom: #a25cd2;
$custom-light: #c08de0;
$custom-dark: #000000;
JSON
{
  "hex": "#a25cd2",
  "rgb": {
    "r": 162,
    "g": 92,
    "b": 210
  },
  "hsl": {
    "h": 275.593,
    "s": 56.731,
    "l": 59.216
  },
  "oklch": {
    "l": 0.60563,
    "c": 0.18146,
    "h": 309.4
  },
  "luminance": 0.19989
}

Semantic roles & 50–950 ramp

primary
#A25CD2
secondary
#C1DCAE
accent
#E04886
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A25CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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