#A25CD7#A25CD7

#A25CD7 is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.9% C 0.187 H 308.1°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#A25CD7
RGBrgb(162, 92, 215)
HSLhsl(274, 61%, 60%)
HSVhsv(274, 57%, 84%)
CMYKcmyk(24.7%, 57.2%, 0%, 15.7%)
CIE-LABlab(52.11, 50.56, -52.30)
CIE-LCHlch(52.11, 72.74, 314.03°)
OKLaboklab(60.86% 0.1153 -0.1472)
OKLCHoklch(60.86% 0.187 308.1)
XYZxyz(30.9907, 20.2424, 66.5514)
Luminance0.2024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25CD7 #91D75C
analogous
#645CD7 #A25CD7 #D75CCF
triadic
#A25CD7 #D7A25C #5CD7A2
tetradic
#A25CD7 #D7645C #91D75C #5CCFD7
square
#A25CD7 #D7645C #91D75C #5CCFD7
split-complementary
#A25CD7 #CFD75C #5CD764
monochromatic
#642494 #8530C5 #A25CD7 #BE8DE3 #DABEEF

Accessibility & contrast

On white

4.16
#A25CD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#A25CD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A25CD7
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A25CD7#FFFFFF#000000##000000
##A25CD71.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F7ADB
Deuteranopia (green-blind)
#4B7DD4
Tritanopia (blue-blind)
#9A7391
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a25cd7;
/* rgb */ color: rgb(162, 92, 215);
/* oklch */ color: oklch(60.9% 0.187 308.1);
Tailwind
colors: {
  custom: {
    50: '#c18de4',
    500: '#a25cd7',
    950: '#000000',
  },
}
SCSS
$custom: #a25cd7;
$custom-light: #c18de4;
$custom-dark: #000000;
JSON
{
  "hex": "#a25cd7",
  "rgb": {
    "r": 162,
    "g": 92,
    "b": 215
  },
  "hsl": {
    "h": 274.146,
    "s": 60.591,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60863,
    "c": 0.18701,
    "h": 308.1
  },
  "luminance": 0.20242
}

Semantic roles & 50–950 ramp

primary
#A25CD7
secondary
#C4DFB0
accent
#C81D67
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A25CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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