#A25CD3#A25CD3

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

Color values

HEX#A25CD3
RGBrgb(162, 92, 211)
HSLhsl(275, 57%, 59%)
HSVhsv(275, 56%, 83%)
CMYKcmyk(23.2%, 56.4%, 0%, 17.3%)
CIE-LABlab(51.88, 49.66, -50.39)
CIE-LCHlch(51.88, 70.75, 314.58°)
OKLaboklab(60.62% 0.1152 -0.1416)
OKLCHoklch(60.62% 0.183 309.1)
XYZxyz(30.4830, 20.0393, 63.8775)
Luminance0.2004 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25CD3 #8DD35C
analogous
#675CD3 #A25CD3 #D35CC9
triadic
#A25CD3 #D3A25C #5CD3A2
tetradic
#A25CD3 #D3675C #8DD35C #5CC9D3
square
#A25CD3 #D3675C #8DD35C #5CC9D3
split-complementary
#A25CD3 #C9D35C #5CD367
monochromatic
#63268E #8533BE #A25CD3 #BD8CE0 #D9BCED

Accessibility & contrast

On white

4.19
#A25CD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#A25CD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A25CD3
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A25CD3#FFFFFF#000000##000000
##A25CD31.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3479D7
Deuteranopia (green-blind)
#4E7DD0
Tritanopia (blue-blind)
#9B728F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a25cd3;
/* rgb */ color: rgb(162, 92, 211);
/* oklch */ color: oklch(60.6% 0.183 309.1);
Tailwind
colors: {
  custom: {
    50: '#c08de1',
    500: '#a25cd3',
    950: '#000000',
  },
}
SCSS
$custom: #a25cd3;
$custom-light: #c08de1;
$custom-dark: #000000;
JSON
{
  "hex": "#a25cd3",
  "rgb": {
    "r": 162,
    "g": 92,
    "b": 211
  },
  "hsl": {
    "h": 275.294,
    "s": 57.488,
    "l": 59.412
  },
  "oklch": {
    "l": 0.60622,
    "c": 0.18257,
    "h": 309.1
  },
  "luminance": 0.20039
}

Semantic roles & 50–950 ramp

primary
#A25CD3
secondary
#C1DDAE
accent
#E14786
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A25CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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