#A25CE7#A25CE7

#A25CE7 is a mid, highly saturated violet. Relative luminance 0.211; OKLCH L 61.9% C 0.205 H 304.3°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#A25CE7
RGBrgb(162, 92, 231)
HSLhsl(270, 74%, 63%)
HSVhsv(270, 60%, 91%)
CMYKcmyk(29.9%, 60.2%, 0%, 9.4%)
CIE-LABlab(53.06, 54.25, -59.81)
CIE-LCHlch(53.06, 80.75, 312.21°)
OKLaboklab(61.87% 0.1152 -0.1693)
OKLCHoklch(61.87% 0.205 304.3)
XYZxyz(33.1480, 21.1053, 77.9132)
Luminance0.2110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25CE7 #A1E75C
analogous
#5C5CE7 #A25CE7 #E75CE6
triadic
#A25CE7 #E7A25C #5CE7A2
tetradic
#A25CE7 #E75C5C #A1E75C #5CE6E7
square
#A25CE7 #E75C5C #A1E75C #5CE6E7
split-complementary
#A25CE7 #E6E75C #5CE75C
monochromatic
#651AAF #8427DF #A25CE7 #C091EF #DFC7F7

Accessibility & contrast

On white

4.02
#A25CE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#A25CE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A25CE7
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A25CE7#FFFFFF#000000##000000
##A25CE71.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D7DEB
Deuteranopia (green-blind)
#3A7FE4
Tritanopia (blue-blind)
#957899
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a25ce7;
/* rgb */ color: rgb(162, 92, 231);
/* oklch */ color: oklch(61.9% 0.205 304.3);
Tailwind
colors: {
  custom: {
    50: '#c28def',
    500: '#a25ce7',
    950: '#000000',
  },
}
SCSS
$custom: #a25ce7;
$custom-light: #c28def;
$custom-dark: #000000;
JSON
{
  "hex": "#a25ce7",
  "rgb": {
    "r": 162,
    "g": 92,
    "b": 231
  },
  "hsl": {
    "h": 270.216,
    "s": 74.332,
    "l": 63.333
  },
  "oklch": {
    "l": 0.61866,
    "c": 0.20476,
    "h": 304.3
  },
  "luminance": 0.21105
}

Semantic roles & 50–950 ramp

primary
#A25CE7
secondary
#CFE8B7
accent
#D60F72
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A25CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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