#A25CE5#A25CE5

#A25CE5 is a mid, highly saturated violet. Relative luminance 0.210; OKLCH L 61.7% C 0.203 H 304.7°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#A25CE5
RGBrgb(162, 92, 229)
HSLhsl(271, 72%, 63%)
HSVhsv(271, 60%, 90%)
CMYKcmyk(29.3%, 59.8%, 0%, 10.2%)
CIE-LABlab(52.94, 53.79, -58.88)
CIE-LCHlch(52.94, 79.75, 312.41°)
OKLaboklab(61.74% 0.1153 -0.1665)
OKLCHoklch(61.74% 0.203 304.7)
XYZxyz(32.8672, 20.9930, 76.4341)
Luminance0.2099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25CE5 #9FE55C
analogous
#5D5CE5 #A25CE5 #E55CE3
triadic
#A25CE5 #E5A25C #5CE5A2
tetradic
#A25CE5 #E55D5C #9FE55C #5CE3E5
square
#A25CE5 #E55D5C #9FE55C #5CE3E5
split-complementary
#A25CE5 #E3E55C #5CE55D
monochromatic
#651BAB #8427DD #A25CE5 #C091ED #DEC6F6

Accessibility & contrast

On white

4.04
#A25CE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#A25CE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A25CE5
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A25CE5#FFFFFF#000000##000000
##A25CE51.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#147CE9
Deuteranopia (green-blind)
#3D7EE2
Tritanopia (blue-blind)
#967898
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a25ce5;
/* rgb */ color: rgb(162, 92, 229);
/* oklch */ color: oklch(61.7% 0.203 304.7);
Tailwind
colors: {
  custom: {
    50: '#c18dee',
    500: '#a25ce5',
    950: '#000000',
  },
}
SCSS
$custom: #a25ce5;
$custom-light: #c18dee;
$custom-dark: #000000;
JSON
{
  "hex": "#a25ce5",
  "rgb": {
    "r": 162,
    "g": 92,
    "b": 229
  },
  "hsl": {
    "h": 270.657,
    "s": 72.487,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61738,
    "c": 0.20254,
    "h": 304.7
  },
  "luminance": 0.20993
}

Semantic roles & 50–950 ramp

primary
#A25CE5
secondary
#CEE7B6
accent
#D51171
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A25CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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