#A25CD6#A25CD6

#A25CD6 is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.8% C 0.186 H 308.3°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#A25CD6
RGBrgb(162, 92, 214)
HSLhsl(274, 60%, 60%)
HSVhsv(274, 57%, 84%)
CMYKcmyk(24.3%, 57%, 0%, 16.1%)
CIE-LABlab(52.05, 50.33, -51.82)
CIE-LCHlch(52.05, 72.24, 314.16°)
OKLaboklab(60.8% 0.1153 -0.1458)
OKLCHoklch(60.8% 0.186 308.3)
XYZxyz(30.8626, 20.1912, 65.8767)
Luminance0.2019 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25CD6 #90D65C
analogous
#655CD6 #A25CD6 #D65CCD
triadic
#A25CD6 #D6A25C #5CD6A2
tetradic
#A25CD6 #D6655C #90D65C #5CCDD6
square
#A25CD6 #D6655C #90D65C #5CCDD6
split-complementary
#A25CD6 #CDD65C #5CD665
monochromatic
#642593 #8531C4 #A25CD6 #BE8DE2 #DABEEF

Accessibility & contrast

On white

4.17
#A25CD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#A25CD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A25CD6
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A25CD6#FFFFFF#000000##000000
##A25CD61.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3079DA
Deuteranopia (green-blind)
#4C7DD3
Tritanopia (blue-blind)
#9A7390
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a25cd6;
/* rgb */ color: rgb(162, 92, 214);
/* oklch */ color: oklch(60.8% 0.186 308.3);
Tailwind
colors: {
  custom: {
    50: '#c18de3',
    500: '#a25cd6',
    950: '#000000',
  },
}
SCSS
$custom: #a25cd6;
$custom-light: #c18de3;
$custom-dark: #000000;
JSON
{
  "hex": "#a25cd6",
  "rgb": {
    "r": 162,
    "g": 92,
    "b": 214
  },
  "hsl": {
    "h": 274.426,
    "s": 59.804,
    "l": 60
  },
  "oklch": {
    "l": 0.60803,
    "c": 0.1859,
    "h": 308.3
  },
  "luminance": 0.20191
}

Semantic roles & 50–950 ramp

primary
#A25CD6
secondary
#C3DEAF
accent
#E34588
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C15
muted
#827D84

Preview Lab

Preview with #A25CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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