#A25BE7#A25BE7

#A25BE7 is a mid, highly saturated violet. Relative luminance 0.209; OKLCH L 61.7% C 0.206 H 304.4°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#A25BE7
RGBrgb(162, 91, 231)
HSLhsl(270, 74%, 63%)
HSVhsv(270, 61%, 91%)
CMYKcmyk(29.9%, 60.6%, 0%, 9.4%)
CIE-LABlab(52.88, 54.76, -60.11)
CIE-LCHlch(52.88, 81.32, 312.33°)
OKLaboklab(61.73% 0.1164 -0.1701)
OKLCHoklch(61.73% 0.206 304.4)
XYZxyz(33.0620, 20.9332, 77.8846)
Luminance0.2093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25BE7 #A0E75B
analogous
#5C5BE7 #A25BE7 #E75BE6
triadic
#A25BE7 #E7A25B #5BE7A2
tetradic
#A25BE7 #E75C5B #A0E75B #5BE6E7
square
#A25BE7 #E75C5B #A0E75B #5BE6E7
split-complementary
#A25BE7 #E6E75B #5BE75C
monochromatic
#6519AE #8426DF #A25BE7 #C090EF #DFC6F7

Accessibility & contrast

On white

4.05
#A25BE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#A25BE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A25BE7
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A25BE7#FFFFFF#000000##000000
##A25BE71.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#057CEB
Deuteranopia (green-blind)
#397EE4
Tritanopia (blue-blind)
#957899
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a25be7;
/* rgb */ color: rgb(162, 91, 231);
/* oklch */ color: oklch(61.7% 0.206 304.4);
Tailwind
colors: {
  custom: {
    50: '#c28def',
    500: '#a25be7',
    950: '#000000',
  },
}
SCSS
$custom: #a25be7;
$custom-light: #c28def;
$custom-dark: #000000;
JSON
{
  "hex": "#a25be7",
  "rgb": {
    "r": 162,
    "g": 91,
    "b": 231
  },
  "hsl": {
    "h": 270.429,
    "s": 74.468,
    "l": 63.137
  },
  "oklch": {
    "l": 0.61729,
    "c": 0.20614,
    "h": 304.4
  },
  "luminance": 0.20933
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A25BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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