#A25CD4#A25CD4

#A25CD4 is a mid, vivid violet. Relative luminance 0.201; OKLCH L 60.7% C 0.184 H 308.9°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#A25CD4
RGBrgb(162, 92, 212)
HSLhsl(275, 58%, 60%)
HSVhsv(275, 57%, 83%)
CMYKcmyk(23.6%, 56.6%, 0%, 16.9%)
CIE-LABlab(51.94, 49.88, -50.87)
CIE-LCHlch(51.94, 71.25, 314.44°)
OKLaboklab(60.68% 0.1152 -0.143)
OKLCHoklch(60.68% 0.184 308.9)
XYZxyz(30.6088, 20.0896, 64.5398)
Luminance0.2009 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25CD4 #8ED45C
analogous
#665CD4 #A25CD4 #D45CCA
triadic
#A25CD4 #D4A25C #5CD4A2
tetradic
#A25CD4 #D4665C #8ED45C #5CCAD4
square
#A25CD4 #D4665C #8ED45C #5CCAD4
split-complementary
#A25CD4 #CAD45C #5CD466
monochromatic
#642690 #8533C0 #A25CD4 #BE8CE1 #D9BDEE

Accessibility & contrast

On white

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

On black

5.02
#A25CD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A25CD4
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A25CD4#FFFFFF#000000##000000
##A25CD41.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3379D8
Deuteranopia (green-blind)
#4D7DD1
Tritanopia (blue-blind)
#9B728F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a25cd4;
/* rgb */ color: rgb(162, 92, 212);
/* oklch */ color: oklch(60.7% 0.184 308.9);
Tailwind
colors: {
  custom: {
    50: '#c18de2',
    500: '#a25cd4',
    950: '#000000',
  },
}
SCSS
$custom: #a25cd4;
$custom-light: #c18de2;
$custom-dark: #000000;
JSON
{
  "hex": "#a25cd4",
  "rgb": {
    "r": 162,
    "g": 92,
    "b": 212
  },
  "hsl": {
    "h": 275,
    "s": 58.252,
    "l": 59.608
  },
  "oklch": {
    "l": 0.60682,
    "c": 0.18369,
    "h": 308.9
  },
  "luminance": 0.20089
}

Semantic roles & 50–950 ramp

primary
#A25CD4
secondary
#C2DDAF
accent
#E14687
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A25CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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