#A25CE4#A25CE4

#A25CE4 is a mid, highly saturated violet. Relative luminance 0.209; OKLCH L 61.7% C 0.201 H 304.9°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#A25CE4
RGBrgb(162, 92, 228)
HSLhsl(271, 72%, 63%)
HSVhsv(271, 60%, 89%)
CMYKcmyk(28.9%, 59.6%, 0%, 10.6%)
CIE-LABlab(52.88, 53.55, -58.42)
CIE-LCHlch(52.88, 79.25, 312.51°)
OKLaboklab(61.67% 0.1153 -0.1652)
OKLCHoklch(61.67% 0.201 304.9)
XYZxyz(32.7280, 20.9373, 75.7009)
Luminance0.2094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25CE4 #9EE45C
analogous
#5E5CE4 #A25CE4 #E45CE2
triadic
#A25CE4 #E4A25C #5CE4A2
tetradic
#A25CE4 #E45E5C #9EE45C #5CE2E4
square
#A25CE4 #E45E5C #9EE45C #5CE2E4
split-complementary
#A25CE4 #E2E45C #5CE45E
monochromatic
#651CAA #8427DB #A25CE4 #C091ED #DEC5F5

Accessibility & contrast

On white

4.05
#A25CE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#A25CE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A25CE4
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A25CE4#FFFFFF#000000##000000
##A25CE41.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#177CE8
Deuteranopia (green-blind)
#3E7EE1
Tritanopia (blue-blind)
#967797
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a25ce4;
/* rgb */ color: rgb(162, 92, 228);
/* oklch */ color: oklch(61.7% 0.201 304.9);
Tailwind
colors: {
  custom: {
    50: '#c18ded',
    500: '#a25ce4',
    950: '#000000',
  },
}
SCSS
$custom: #a25ce4;
$custom-light: #c18ded;
$custom-dark: #000000;
JSON
{
  "hex": "#a25ce4",
  "rgb": {
    "r": 162,
    "g": 92,
    "b": 228
  },
  "hsl": {
    "h": 270.882,
    "s": 71.579,
    "l": 62.745
  },
  "oklch": {
    "l": 0.61674,
    "c": 0.20143,
    "h": 304.9
  },
  "luminance": 0.20937
}

Semantic roles & 50–950 ramp

primary
#A25CE4
secondary
#CDE7B5
accent
#D41270
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A25CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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