#A25AE7#A25AE7

#A25AE7 is a mid, highly saturated violet. Relative luminance 0.208; OKLCH L 61.6% C 0.208 H 304.5°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#A25AE7
RGBrgb(162, 90, 231)
HSLhsl(271, 75%, 63%)
HSVhsv(271, 61%, 91%)
CMYKcmyk(29.9%, 61%, 0%, 9.4%)
CIE-LABlab(52.69, 55.26, -60.41)
CIE-LCHlch(52.69, 81.88, 312.45°)
OKLaboklab(61.59% 0.1176 -0.171)
OKLCHoklch(61.59% 0.208 304.5)
XYZxyz(32.9771, 20.7634, 77.8562)
Luminance0.2076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25AE7 #9FE75A
analogous
#5B5AE7 #A25AE7 #E75AE6
triadic
#A25AE7 #E7A25A #5AE7A2
tetradic
#A25AE7 #E75B5A #9FE75A #5AE6E7
square
#A25AE7 #E75B5A #9FE75A #5AE6E7
split-complementary
#A25AE7 #E6E75A #5AE75B
monochromatic
#6519AD #8425DF #A25AE7 #C08FEF #DEC5F7

Accessibility & contrast

On white

4.08
#A25AE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#A25AE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A25AE7
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A25AE7#FFFFFF#000000##000000
##A25AE71.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEB
Deuteranopia (green-blind)
#377EE4
Tritanopia (blue-blind)
#967798
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a25ae7;
/* rgb */ color: rgb(162, 90, 231);
/* oklch */ color: oklch(61.6% 0.208 304.5);
Tailwind
colors: {
  custom: {
    50: '#c28cef',
    500: '#a25ae7',
    950: '#000000',
  },
}
SCSS
$custom: #a25ae7;
$custom-light: #c28cef;
$custom-dark: #000000;
JSON
{
  "hex": "#a25ae7",
  "rgb": {
    "r": 162,
    "g": 90,
    "b": 231
  },
  "hsl": {
    "h": 270.638,
    "s": 74.603,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61594,
    "c": 0.20753,
    "h": 304.5
  },
  "luminance": 0.20763
}

Semantic roles & 50–950 ramp

primary
#A25AE7
secondary
#CEE8B5
accent
#D70F71
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A25AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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