#A25CE8#A25CE8

#A25CE8 is a mid, highly saturated violet. Relative luminance 0.212; OKLCH L 61.9% C 0.206 H 304.0°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#A25CE8
RGBrgb(162, 92, 232)
HSLhsl(270, 75%, 64%)
HSVhsv(270, 60%, 91%)
CMYKcmyk(30.2%, 60.3%, 0%, 9%)
CIE-LABlab(53.13, 54.49, -60.27)
CIE-LCHlch(53.13, 81.25, 312.11°)
OKLaboklab(61.93% 0.1152 -0.1706)
OKLCHoklch(61.93% 0.206 304)
XYZxyz(33.2897, 21.1620, 78.6592)
Luminance0.2116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25CE8 #A2E85C
analogous
#5C5CE8 #A25CE8 #E85CE8
triadic
#A25CE8 #E8A25C #5CE8A2
tetradic
#A25CE8 #E85C5C #A2E85C #5CE8E8
square
#A25CE8 #E85C5C #A2E85C #5CE8E8
split-complementary
#A25CE8 #E8E85C #5CE85C
monochromatic
#6519B1 #8326E0 #A25CE8 #C192F0 #DFC7F7

Accessibility & contrast

On white

4.01
#A25CE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#A25CE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A25CE8
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A25CE8#FFFFFF#000000##000000
##A25CE81.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#087DEC
Deuteranopia (green-blind)
#397FE5
Tritanopia (blue-blind)
#95799A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a25ce8;
/* rgb */ color: rgb(162, 92, 232);
/* oklch */ color: oklch(61.9% 0.206 304.0);
Tailwind
colors: {
  custom: {
    50: '#c28df0',
    500: '#a25ce8',
    950: '#000000',
  },
}
SCSS
$custom: #a25ce8;
$custom-light: #c28df0;
$custom-dark: #000000;
JSON
{
  "hex": "#a25ce8",
  "rgb": {
    "r": 162,
    "g": 92,
    "b": 232
  },
  "hsl": {
    "h": 270,
    "s": 75.269,
    "l": 63.529
  },
  "oklch": {
    "l": 0.61931,
    "c": 0.20587,
    "h": 304
  },
  "luminance": 0.21162
}

Semantic roles & 50–950 ramp

primary
#A25CE8
secondary
#D0E9B7
accent
#D70E73
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A25CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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