#A25BE4#A25BE4

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

Color values

HEX#A25BE4
RGBrgb(162, 91, 228)
HSLhsl(271, 72%, 63%)
HSVhsv(271, 60%, 89%)
CMYKcmyk(28.9%, 60.1%, 0%, 10.6%)
CIE-LABlab(52.69, 54.06, -58.72)
CIE-LCHlch(52.69, 79.82, 312.63°)
OKLaboklab(61.54% 0.1165 -0.166)
OKLCHoklch(61.54% 0.203 305.1)
XYZxyz(32.6419, 20.7652, 75.6722)
Luminance0.2077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25BE4 #9DE45B
analogous
#5D5BE4 #A25BE4 #E45BE1
triadic
#A25BE4 #E4A25B #5BE4A2
tetradic
#A25BE4 #E45D5B #9DE45B #5BE1E4
square
#A25BE4 #E45D5B #9DE45B #5BE1E4
split-complementary
#A25BE4 #E1E45B #5BE45D
monochromatic
#651CA9 #8426DB #A25BE4 #C090ED #DEC4F5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A25BE4#FFFFFF#000000##000000
##A25BE41.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)
#127CE8
Deuteranopia (green-blind)
#3C7EE1
Tritanopia (blue-blind)
#967797
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a25be4;
/* rgb */ color: rgb(162, 91, 228);
/* oklch */ color: oklch(61.5% 0.203 305.1);
Tailwind
colors: {
  custom: {
    50: '#c18ded',
    500: '#a25be4',
    950: '#000000',
  },
}
SCSS
$custom: #a25be4;
$custom-light: #c18ded;
$custom-dark: #000000;
JSON
{
  "hex": "#a25be4",
  "rgb": {
    "r": 162,
    "g": 91,
    "b": 228
  },
  "hsl": {
    "h": 271.095,
    "s": 71.728,
    "l": 62.549
  },
  "oklch": {
    "l": 0.61536,
    "c": 0.20284,
    "h": 305.1
  },
  "luminance": 0.20765
}

Semantic roles & 50–950 ramp

primary
#A25BE4
secondary
#CCE6B4
accent
#D4126F
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A25BE4

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

Preview Lab → · Contrast checker → · Palette generator →

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