#A25CDF#A25CDF

#A25CDF is a mid, vivid violet. Relative luminance 0.207; OKLCH L 61.4% C 0.196 H 306.1°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#A25CDF
RGBrgb(162, 92, 223)
HSLhsl(272, 67%, 62%)
HSVhsv(272, 59%, 87%)
CMYKcmyk(27.4%, 58.7%, 0%, 12.5%)
CIE-LABlab(52.58, 52.39, -56.08)
CIE-LCHlch(52.58, 76.75, 313.05°)
OKLaboklab(61.36% 0.1154 -0.1583)
OKLCHoklch(61.36% 0.196 306.1)
XYZxyz(32.0439, 20.6637, 72.0981)
Luminance0.2066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25CDF #99DF5C
analogous
#615CDF #A25CDF #DF5CDA
triadic
#A25CDF #DFA25C #5CDFA2
tetradic
#A25CDF #DF615C #99DF5C #5CDADF
square
#A25CDF #DF615C #99DF5C #5CDADF
split-complementary
#A25CDF #DADF5C #5CDF61
monochromatic
#6520A1 #852AD4 #A25CDF #BF8FE9 #DCC2F3

Accessibility & contrast

On white

4.09
#A25CDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#A25CDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A25CDF
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A25CDF#FFFFFF#000000##000000
##A25CDF1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#237BE3
Deuteranopia (green-blind)
#437EDC
Tritanopia (blue-blind)
#987695
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a25cdf;
/* rgb */ color: rgb(162, 92, 223);
/* oklch */ color: oklch(61.4% 0.196 306.1);
Tailwind
colors: {
  custom: {
    50: '#c18dea',
    500: '#a25cdf',
    950: '#000000',
  },
}
SCSS
$custom: #a25cdf;
$custom-light: #c18dea;
$custom-dark: #000000;
JSON
{
  "hex": "#a25cdf",
  "rgb": {
    "r": 162,
    "g": 92,
    "b": 223
  },
  "hsl": {
    "h": 272.061,
    "s": 67.179,
    "l": 61.765
  },
  "oklch": {
    "l": 0.61357,
    "c": 0.19589,
    "h": 306.1
  },
  "luminance": 0.20663
}

Semantic roles & 50–950 ramp

primary
#A25CDF
secondary
#CAE4B3
accent
#CF166C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A25CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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