#A25BEA#A25BEA

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

Color values

HEX#A25BEA
RGBrgb(162, 91, 234)
HSLhsl(270, 77%, 64%)
HSVhsv(270, 61%, 92%)
CMYKcmyk(30.8%, 61.1%, 0%, 8.2%)
CIE-LABlab(53.06, 55.46, -61.50)
CIE-LCHlch(53.06, 82.81, 312.05°)
OKLaboklab(61.93% 0.1163 -0.1742)
OKLCHoklch(61.93% 0.209 303.7)
XYZxyz(33.4893, 21.1041, 80.1352)
Luminance0.2110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25BEA #A3EA5B
analogous
#5B5BEA #A25BEA #E95BEA
triadic
#A25BEA #EAA25B #5BEAA2
tetradic
#A25BEA #EA5B5B #A3EA5B #5BEAE9
square
#A25BEA #EA5B5B #A3EA5B #5BEAE9
split-complementary
#A25BEA #EAE95B #5BEA5B
monochromatic
#6517B4 #8325E3 #A25BEA #C191F1 #E0C8F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A25BEA#FFFFFF#000000##000000
##A25BEA1.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)
#007DEF
Deuteranopia (green-blind)
#357FE7
Tritanopia (blue-blind)
#95799A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a25bea;
/* rgb */ color: rgb(162, 91, 234);
/* oklch */ color: oklch(61.9% 0.209 303.7);
Tailwind
colors: {
  custom: {
    50: '#c28df1',
    500: '#a25bea',
    950: '#000000',
  },
}
SCSS
$custom: #a25bea;
$custom-light: #c28df1;
$custom-dark: #000000;
JSON
{
  "hex": "#a25bea",
  "rgb": {
    "r": 162,
    "g": 91,
    "b": 234
  },
  "hsl": {
    "h": 269.79,
    "s": 77.297,
    "l": 63.725
  },
  "oklch": {
    "l": 0.61925,
    "c": 0.20945,
    "h": 303.7
  },
  "luminance": 0.21104
}

Semantic roles & 50–950 ramp

primary
#A25BEA
secondary
#D1EAB7
accent
#DA0C73
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A25BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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