#A25BDD#A25BDD

#A25BDD is a mid, vivid violet. Relative luminance 0.204; OKLCH L 61.1% C 0.195 H 306.7°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#A25BDD
RGBrgb(162, 91, 221)
HSLhsl(273, 66%, 61%)
HSVhsv(273, 59%, 87%)
CMYKcmyk(26.7%, 58.8%, 0%, 13.3%)
CIE-LABlab(52.27, 52.45, -55.45)
CIE-LCHlch(52.27, 76.32, 313.41°)
OKLaboklab(61.09% 0.1166 -0.1564)
OKLCHoklch(61.09% 0.195 306.7)
XYZxyz(31.6898, 20.3843, 70.6577)
Luminance0.2038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25BDD #96DD5B
analogous
#615BDD #A25BDD #DD5BD7
triadic
#A25BDD #DDA25B #5BDDA2
tetradic
#A25BDD #DD615B #96DD5B #5BD7DD
square
#A25BDD #DD615B #96DD5B #5BD7DD
split-complementary
#A25BDD #D7DD5B #5BDD61
monochromatic
#65219D #852BD0 #A25BDD #BF8EE8 #DBC0F2

Accessibility & contrast

On white

4.14
#A25BDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#A25BDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A25BDD
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A25BDD#FFFFFF#000000##000000
##A25BDD1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#237AE1
Deuteranopia (green-blind)
#447DDA
Tritanopia (blue-blind)
#997493
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a25bdd;
/* rgb */ color: rgb(162, 91, 221);
/* oklch */ color: oklch(61.1% 0.195 306.7);
Tailwind
colors: {
  custom: {
    50: '#c18de8',
    500: '#a25bdd',
    950: '#000000',
  },
}
SCSS
$custom: #a25bdd;
$custom-light: #c18de8;
$custom-dark: #000000;
JSON
{
  "hex": "#a25bdd",
  "rgb": {
    "r": 162,
    "g": 91,
    "b": 221
  },
  "hsl": {
    "h": 272.769,
    "s": 65.657,
    "l": 61.176
  },
  "oklch": {
    "l": 0.61093,
    "c": 0.19511,
    "h": 306.7
  },
  "luminance": 0.20384
}

Semantic roles & 50–950 ramp

primary
#A25BDD
secondary
#C8E2B1
accent
#CE186A
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A25BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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