#A25CD5#A25CD5

#A25CD5 is a mid, vivid violet. Relative luminance 0.201; OKLCH L 60.7% C 0.185 H 308.6°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#A25CD5
RGBrgb(162, 92, 213)
HSLhsl(275, 59%, 60%)
HSVhsv(275, 57%, 84%)
CMYKcmyk(23.9%, 56.8%, 0%, 16.5%)
CIE-LABlab(52.00, 50.11, -51.35)
CIE-LCHlch(52.00, 71.74, 314.30°)
OKLaboklab(60.74% 0.1153 -0.1444)
OKLCHoklch(60.74% 0.185 308.6)
XYZxyz(30.7353, 20.1402, 65.2062)
Luminance0.2014 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25CD5 #8FD55C
analogous
#665CD5 #A25CD5 #D55CCB
triadic
#A25CD5 #D5A25C #5CD5A2
tetradic
#A25CD5 #D5665C #8FD55C #5CCBD5
square
#A25CD5 #D5665C #8FD55C #5CCBD5
split-complementary
#A25CD5 #CBD55C #5CD566
monochromatic
#642591 #8532C2 #A25CD5 #BE8DE2 #DABDEE

Accessibility & contrast

On white

4.18
#A25CD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#A25CD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A25CD5
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A25CD5#FFFFFF#000000##000000
##A25CD51.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3279D9
Deuteranopia (green-blind)
#4C7DD2
Tritanopia (blue-blind)
#9B7290
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a25cd5;
/* rgb */ color: rgb(162, 92, 213);
/* oklch */ color: oklch(60.7% 0.185 308.6);
Tailwind
colors: {
  custom: {
    50: '#c18de2',
    500: '#a25cd5',
    950: '#000000',
  },
}
SCSS
$custom: #a25cd5;
$custom-light: #c18de2;
$custom-dark: #000000;
JSON
{
  "hex": "#a25cd5",
  "rgb": {
    "r": 162,
    "g": 92,
    "b": 213
  },
  "hsl": {
    "h": 274.711,
    "s": 59.024,
    "l": 59.804
  },
  "oklch": {
    "l": 0.60742,
    "c": 0.18479,
    "h": 308.6
  },
  "luminance": 0.2014
}

Semantic roles & 50–950 ramp

primary
#A25CD5
secondary
#C3DEAF
accent
#E24688
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A25CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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