#A25DE4#A25DE4

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

Color values

HEX#A25DE4
RGBrgb(162, 93, 228)
HSLhsl(271, 71%, 63%)
HSVhsv(271, 59%, 89%)
CMYKcmyk(28.9%, 59.2%, 0%, 10.6%)
CIE-LABlab(53.07, 53.04, -58.11)
CIE-LCHlch(53.07, 78.68, 312.39°)
OKLaboklab(61.81% 0.1141 -0.1643)
OKLCHoklch(61.81% 0.2 304.8)
XYZxyz(32.8152, 21.1117, 75.7299)
Luminance0.2111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25DE4 #9FE45D
analogous
#5E5DE4 #A25DE4 #E45DE2
triadic
#A25DE4 #E4A25D #5DE4A2
tetradic
#A25DE4 #E45E5D #9FE45D #5DE2E4
square
#A25DE4 #E45E5D #9FE45D #5DE2E4
split-complementary
#A25DE4 #E2E45D #5DE45E
monochromatic
#651CAA #8429DB #A25DE4 #C091ED #DEC6F5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A25DE4#FFFFFF#000000##000000
##A25DE41.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)
#1C7DE8
Deuteranopia (green-blind)
#3F7FE1
Tritanopia (blue-blind)
#967898
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a25de4;
/* rgb */ color: rgb(162, 93, 228);
/* oklch */ color: oklch(61.8% 0.200 304.8);
Tailwind
colors: {
  custom: {
    50: '#c18eed',
    500: '#a25de4',
    950: '#000000',
  },
}
SCSS
$custom: #a25de4;
$custom-light: #c18eed;
$custom-dark: #000000;
JSON
{
  "hex": "#a25de4",
  "rgb": {
    "r": 162,
    "g": 93,
    "b": 228
  },
  "hsl": {
    "h": 270.667,
    "s": 71.429,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61813,
    "c": 0.20001,
    "h": 304.8
  },
  "luminance": 0.21112
}

Semantic roles & 50–950 ramp

primary
#A25DE4
secondary
#CEE7B6
accent
#D31271
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A25DE4

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

Preview Lab → · Contrast checker → · Palette generator →

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