#A25CD8#A25CD8

#A25CD8 is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.9% C 0.188 H 307.8°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#A25CD8
RGBrgb(162, 92, 216)
HSLhsl(274, 61%, 60%)
HSVhsv(274, 57%, 85%)
CMYKcmyk(25%, 57.4%, 0%, 15.3%)
CIE-LABlab(52.17, 50.79, -52.78)
CIE-LCHlch(52.17, 73.24, 313.90°)
OKLaboklab(60.92% 0.1153 -0.1486)
OKLCHoklch(60.92% 0.188 307.8)
XYZxyz(31.1196, 20.2939, 67.2302)
Luminance0.2029 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25CD8 #92D85C
analogous
#645CD8 #A25CD8 #D85CD0
triadic
#A25CD8 #D8A25C #5CD8A2
tetradic
#A25CD8 #D8645C #92D85C #5CD0D8
square
#A25CD8 #D8645C #92D85C #5CD0D8
split-complementary
#A25CD8 #D0D85C #5CD864
monochromatic
#642496 #8530C7 #A25CD8 #BE8DE4 #DABFF0

Accessibility & contrast

On white

4.15
#A25CD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#A25CD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A25CD8
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A25CD8#FFFFFF#000000##000000
##A25CD81.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a25cd8;
/* rgb */ color: rgb(162, 92, 216);
/* oklch */ color: oklch(60.9% 0.188 307.8);
Tailwind
colors: {
  custom: {
    50: '#c18de5',
    500: '#a25cd8',
    950: '#000000',
  },
}
SCSS
$custom: #a25cd8;
$custom-light: #c18de5;
$custom-dark: #000000;
JSON
{
  "hex": "#a25cd8",
  "rgb": {
    "r": 162,
    "g": 92,
    "b": 216
  },
  "hsl": {
    "h": 273.871,
    "s": 61.386,
    "l": 60.392
  },
  "oklch": {
    "l": 0.60924,
    "c": 0.18812,
    "h": 307.8
  },
  "luminance": 0.20294
}

Semantic roles & 50–950 ramp

primary
#A25CD8
secondary
#C5E0B0
accent
#C91C68
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A25CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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