#A25FDD#A25FDD

#A25FDD is a mid, vivid violet. Relative luminance 0.211; OKLCH L 61.7% C 0.189 H 306.2°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#A25FDD
RGBrgb(162, 95, 221)
HSLhsl(272, 65%, 62%)
HSVhsv(272, 57%, 87%)
CMYKcmyk(26.7%, 57%, 0%, 13.3%)
CIE-LABlab(53.04, 50.38, -54.21)
CIE-LCHlch(53.04, 74.00, 312.90°)
OKLaboklab(61.66% 0.1117 -0.1528)
OKLCHoklch(61.66% 0.189 306.2)
XYZxyz(32.0409, 21.0865, 70.7748)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25FDD #9ADD5F
analogous
#635FDD #A25FDD #DD5FD9
triadic
#A25FDD #DDA25F #5FDDA2
tetradic
#A25FDD #DD635F #9ADD5F #5FD9DD
square
#A25FDD #DD635F #9ADD5F #5FD9DD
split-complementary
#A25FDD #D9DD5F #5FDD63
monochromatic
#6522A0 #852DD2 #A25FDD #BF91E8 #DDC4F2

Accessibility & contrast

On white

4.03
#A25FDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A25FDD#FFFFFF#000000##000000
##A25FDD1.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E7CE1
Deuteranopia (green-blind)
#497FDA
Tritanopia (blue-blind)
#987795
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a25fdd;
/* rgb */ color: rgb(162, 95, 221);
/* oklch */ color: oklch(61.7% 0.189 306.2);
Tailwind
colors: {
  custom: {
    50: '#c18fe8',
    500: '#a25fdd',
    950: '#000000',
  },
}
SCSS
$custom: #a25fdd;
$custom-light: #c18fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#a25fdd",
  "rgb": {
    "r": 162,
    "g": 95,
    "b": 221
  },
  "hsl": {
    "h": 271.905,
    "s": 64.948,
    "l": 61.961
  },
  "oklch": {
    "l": 0.61659,
    "c": 0.18926,
    "h": 306.2
  },
  "luminance": 0.21086
}

Semantic roles & 50–950 ramp

primary
#A25FDD
secondary
#CAE3B5
accent
#CD196D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130D16
muted
#827D84

Preview Lab

Preview with #A25FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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