#A25CCE#A25CCE

#A25CCE is a mid, vivid violet. Relative luminance 0.198; OKLCH L 60.3% C 0.177 H 310.5°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#A25CCE
RGBrgb(162, 92, 206)
HSLhsl(277, 54%, 58%)
HSVhsv(277, 55%, 81%)
CMYKcmyk(21.4%, 55.3%, 0%, 19.2%)
CIE-LABlab(51.60, 48.54, -47.98)
CIE-LCHlch(51.60, 68.25, 315.33°)
OKLaboklab(60.33% 0.115 -0.1346)
OKLCHoklch(60.33% 0.177 310.5)
XYZxyz(29.8659, 19.7925, 60.6276)
Luminance0.1979 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25CCE #88CE5C
analogous
#695CCE #A25CCE #CE5CC1
triadic
#A25CCE #CEA25C #5CCEA2
tetradic
#A25CCE #CE695C #88CE5C #5CC1CE
square
#A25CCE #CE695C #88CE5C #5CC1CE
split-complementary
#A25CCE #C1CE5C #5CCE69
monochromatic
#632987 #8537B6 #A25CCE #BD8BDC #D8BAEA

Accessibility & contrast

On white

4.24
#A25CCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#A25CCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A25CCE
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A25CCE#FFFFFF#000000##000000
##A25CCE1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3978D2
Deuteranopia (green-blind)
#527CCB
Tritanopia (blue-blind)
#9D708C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a25cce;
/* rgb */ color: rgb(162, 92, 206);
/* oklch */ color: oklch(60.3% 0.177 310.5);
Tailwind
colors: {
  custom: {
    50: '#c08ddd',
    500: '#a25cce',
    950: '#000000',
  },
}
SCSS
$custom: #a25cce;
$custom-light: #c08ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#a25cce",
  "rgb": {
    "r": 162,
    "g": 92,
    "b": 206
  },
  "hsl": {
    "h": 276.842,
    "s": 53.774,
    "l": 58.431
  },
  "oklch": {
    "l": 0.60327,
    "c": 0.17703,
    "h": 310.5
  },
  "luminance": 0.19792
}

Semantic roles & 50–950 ramp

primary
#A25CCE
secondary
#BEDAAC
accent
#DD4B83
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A25CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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