#A25BD5#A25BD5

#A25BD5 is a mid, vivid violet. Relative luminance 0.200; OKLCH L 60.6% C 0.186 H 308.7°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#A25BD5
RGBrgb(162, 91, 213)
HSLhsl(275, 59%, 60%)
HSVhsv(275, 57%, 84%)
CMYKcmyk(23.9%, 57.3%, 0%, 16.5%)
CIE-LABlab(51.80, 50.62, -51.66)
CIE-LCHlch(51.80, 72.33, 314.42°)
OKLaboklab(60.6% 0.1165 -0.1453)
OKLCHoklch(60.6% 0.186 308.7)
XYZxyz(30.6492, 19.9681, 65.1775)
Luminance0.1997 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25BD5 #8ED55B
analogous
#655BD5 #A25BD5 #D55BCB
triadic
#A25BD5 #D5A25B #5BD5A2
tetradic
#A25BD5 #D5655B #8ED55B #5BCBD5
square
#A25BD5 #D5655B #8ED55B #5BCBD5
split-complementary
#A25BD5 #CBD55B #5BD565
monochromatic
#642591 #8532C1 #A25BD5 #BE8CE1 #D9BCEE

Accessibility & contrast

On white

4.21
#A25BD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#A25BD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A25BD5
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A25BD5#FFFFFF#000000##000000
##A25BD51.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F79D9
Deuteranopia (green-blind)
#4B7CD2
Tritanopia (blue-blind)
#9B728F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a25bd5;
/* rgb */ color: rgb(162, 91, 213);
/* oklch */ color: oklch(60.6% 0.186 308.7);
Tailwind
colors: {
  custom: {
    50: '#c18ce2',
    500: '#a25bd5',
    950: '#000000',
  },
}
SCSS
$custom: #a25bd5;
$custom-light: #c18ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#a25bd5",
  "rgb": {
    "r": 162,
    "g": 91,
    "b": 213
  },
  "hsl": {
    "h": 274.918,
    "s": 59.223,
    "l": 59.608
  },
  "oklch": {
    "l": 0.606,
    "c": 0.18629,
    "h": 308.7
  },
  "luminance": 0.19968
}

Semantic roles & 50–950 ramp

primary
#A25BD5
secondary
#C2DEAE
accent
#E24587
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A25BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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