#A25DCC#A25DCC

#A25DCC is a mid, vivid violet. Relative luminance 0.199; OKLCH L 60.4% C 0.173 H 311.0°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#A25DCC
RGBrgb(162, 93, 204)
HSLhsl(277, 52%, 58%)
HSVhsv(277, 54%, 80%)
CMYKcmyk(20.6%, 54.4%, 0%, 20%)
CIE-LABlab(51.69, 47.57, -46.70)
CIE-LCHlch(51.69, 66.66, 315.53°)
OKLaboklab(60.36% 0.1136 -0.1309)
OKLCHoklch(60.36% 0.173 311)
XYZxyz(29.7117, 19.8703, 59.3852)
Luminance0.1987 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25DCC #87CC5D
analogous
#6A5DCC #A25DCC #CC5DBF
triadic
#A25DCC #CCA25D #5DCCA2
tetradic
#A25DCC #CC6A5D #87CC5D #5DBFCC
square
#A25DCC #CC6A5D #87CC5D #5DBFCC
split-complementary
#A25DCC #BFCC5D #5DCC6A
monochromatic
#622A85 #8538B3 #A25DCC #BD8CDB #D7BAE9

Accessibility & contrast

On white

4.22
#A25DCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#A25DCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A25DCC
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A25DCC#FFFFFF#000000##000000
##A25DCC1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D78D0
Deuteranopia (green-blind)
#547DC9
Tritanopia (blue-blind)
#9D708C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a25dcc;
/* rgb */ color: rgb(162, 93, 204);
/* oklch */ color: oklch(60.4% 0.173 311.0);
Tailwind
colors: {
  custom: {
    50: '#c08ddc',
    500: '#a25dcc',
    950: '#000000',
  },
}
SCSS
$custom: #a25dcc;
$custom-light: #c08ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#a25dcc",
  "rgb": {
    "r": 162,
    "g": 93,
    "b": 204
  },
  "hsl": {
    "h": 277.297,
    "s": 52.113,
    "l": 58.235
  },
  "oklch": {
    "l": 0.60356,
    "c": 0.17327,
    "h": 311
  },
  "luminance": 0.1987
}

Semantic roles & 50–950 ramp

primary
#A25DCC
secondary
#BDD9AC
accent
#DC4C82
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A25DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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