#A25CDD#A25CDD

#A25CDD is a mid, vivid violet. Relative luminance 0.206; OKLCH L 61.2% C 0.194 H 306.6°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#A25CDD
RGBrgb(162, 92, 221)
HSLhsl(273, 65%, 61%)
HSVhsv(273, 58%, 87%)
CMYKcmyk(26.7%, 58.4%, 0%, 13.3%)
CIE-LABlab(52.46, 51.93, -55.14)
CIE-LCHlch(52.46, 75.75, 313.28°)
OKLaboklab(61.23% 0.1154 -0.1555)
OKLCHoklch(61.23% 0.194 306.6)
XYZxyz(31.7758, 20.5564, 70.6864)
Luminance0.2056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25CDD #97DD5C
analogous
#625CDD #A25CDD #DD5CD8
triadic
#A25CDD #DDA25C #5CDDA2
tetradic
#A25CDD #DD625C #97DD5C #5CD8DD
square
#A25CDD #DD625C #97DD5C #5CD8DD
split-complementary
#A25CDD #D8DD5C #5CDD62
monochromatic
#65219E #852BD0 #A25CDD #BF8FE8 #DCC1F2

Accessibility & contrast

On white

4.11
#A25CDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#A25CDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A25CDD
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A25CDD#FFFFFF#000000##000000
##A25CDD1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#267BE1
Deuteranopia (green-blind)
#457EDA
Tritanopia (blue-blind)
#987594
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a25cdd;
/* rgb */ color: rgb(162, 92, 221);
/* oklch */ color: oklch(61.2% 0.194 306.6);
Tailwind
colors: {
  custom: {
    50: '#c18de8',
    500: '#a25cdd',
    950: '#000000',
  },
}
SCSS
$custom: #a25cdd;
$custom-light: #c18de8;
$custom-dark: #000000;
JSON
{
  "hex": "#a25cdd",
  "rgb": {
    "r": 162,
    "g": 92,
    "b": 221
  },
  "hsl": {
    "h": 272.558,
    "s": 65.482,
    "l": 61.373
  },
  "oklch": {
    "l": 0.61232,
    "c": 0.19367,
    "h": 306.6
  },
  "luminance": 0.20556
}

Semantic roles & 50–950 ramp

primary
#A25CDD
secondary
#C8E3B2
accent
#CD186B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A25CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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