#A25BE8#A25BE8

#A25BE8 is a mid, highly saturated violet. Relative luminance 0.210; OKLCH L 61.8% C 0.207 H 304.2°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#A25BE8
RGBrgb(162, 91, 232)
HSLhsl(270, 75%, 63%)
HSVhsv(270, 61%, 91%)
CMYKcmyk(30.2%, 60.8%, 0%, 9%)
CIE-LABlab(52.94, 54.99, -60.58)
CIE-LCHlch(52.94, 81.82, 312.24°)
OKLaboklab(61.79% 0.1164 -0.1715)
OKLCHoklch(61.79% 0.207 304.2)
XYZxyz(33.2036, 20.9899, 78.6305)
Luminance0.2099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25BE8 #A1E85B
analogous
#5B5BE8 #A25BE8 #E85BE7
triadic
#A25BE8 #E8A25B #5BE8A2
tetradic
#A25BE8 #E85B5B #A1E85B #5BE7E8
square
#A25BE8 #E85B5B #A1E85B #5BE7E8
split-complementary
#A25BE8 #E7E85B #5BE85B
monochromatic
#6519B0 #8425E0 #A25BE8 #C091F0 #DFC6F7

Accessibility & contrast

On white

4.04
#A25BE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#A25BE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A25BE8
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A25BE8#FFFFFF#000000##000000
##A25BE81.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DEC
Deuteranopia (green-blind)
#377EE5
Tritanopia (blue-blind)
#957899
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a25be8;
/* rgb */ color: rgb(162, 91, 232);
/* oklch */ color: oklch(61.8% 0.207 304.2);
Tailwind
colors: {
  custom: {
    50: '#c28df0',
    500: '#a25be8',
    950: '#000000',
  },
}
SCSS
$custom: #a25be8;
$custom-light: #c28df0;
$custom-dark: #000000;
JSON
{
  "hex": "#a25be8",
  "rgb": {
    "r": 162,
    "g": 91,
    "b": 232
  },
  "hsl": {
    "h": 270.213,
    "s": 75.401,
    "l": 63.333
  },
  "oklch": {
    "l": 0.61794,
    "c": 0.20725,
    "h": 304.2
  },
  "luminance": 0.2099
}

Semantic roles & 50–950 ramp

primary
#A25BE8
secondary
#CFE9B6
accent
#D80E72
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A25BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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