#A25CE9#A25CE9

#A25CE9 is a mid, highly saturated violet. Relative luminance 0.212; OKLCH L 62.0% C 0.207 H 303.8°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#A25CE9
RGBrgb(162, 92, 233)
HSLhsl(270, 76%, 64%)
HSVhsv(270, 61%, 91%)
CMYKcmyk(30.5%, 60.5%, 0%, 8.6%)
CIE-LABlab(53.19, 54.72, -60.74)
CIE-LCHlch(53.19, 81.75, 312.02°)
OKLaboklab(62% 0.1152 -0.172)
OKLCHoklch(62% 0.207 303.8)
XYZxyz(33.4321, 21.2190, 79.4094)
Luminance0.2122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25CE9 #A3E95C
analogous
#5C5CE9 #A25CE9 #E85CE9
triadic
#A25CE9 #E9A25C #5CE9A2
tetradic
#A25CE9 #E95C5C #A3E95C #5CE9E8
square
#A25CE9 #E95C5C #A3E95C #5CE9E8
split-complementary
#A25CE9 #E9E85C #5CE95C
monochromatic
#6518B3 #8326E2 #A25CE9 #C192F0 #E0C8F8

Accessibility & contrast

On white

4.00
#A25CE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#A25CE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A25CE9
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A25CE9#FFFFFF#000000##000000
##A25CE91.004.005.245.24
#FFFFFF4.001.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#027DED
Deuteranopia (green-blind)
#387FE6
Tritanopia (blue-blind)
#95799A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a25ce9;
/* rgb */ color: rgb(162, 92, 233);
/* oklch */ color: oklch(62.0% 0.207 303.8);
Tailwind
colors: {
  custom: {
    50: '#c28df1',
    500: '#a25ce9',
    950: '#000000',
  },
}
SCSS
$custom: #a25ce9;
$custom-light: #c28df1;
$custom-dark: #000000;
JSON
{
  "hex": "#a25ce9",
  "rgb": {
    "r": 162,
    "g": 92,
    "b": 233
  },
  "hsl": {
    "h": 269.787,
    "s": 76.216,
    "l": 63.725
  },
  "oklch": {
    "l": 0.61996,
    "c": 0.20696,
    "h": 303.8
  },
  "luminance": 0.21219
}

Semantic roles & 50–950 ramp

primary
#A25CE9
secondary
#D1E9B8
accent
#D80D73
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A25CE9

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

Preview Lab → · Contrast checker → · Palette generator →

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