#A25CBC#A25CBC

#A25CBC is a mid, vivid purple. Relative luminance 0.190; OKLCH L 59.3% C 0.157 H 316.2°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#A25CBC
RGBrgb(162, 92, 188)
HSLhsl(284, 42%, 55%)
HSVhsv(284, 51%, 74%)
CMYKcmyk(13.8%, 51.1%, 0%, 26.3%)
CIE-LABlab(50.65, 44.63, -39.14)
CIE-LCHlch(50.65, 59.37, 318.75°)
OKLaboklab(59.32% 0.1135 -0.1089)
OKLCHoklch(59.32% 0.157 316.2)
XYZxyz(27.8032, 18.9674, 49.7637)
Luminance0.1897 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25CBC #76BC5C
analogous
#725CBC #A25CBC #BC5CA6
triadic
#A25CBC #BCA25C #5CBCA2
tetradic
#A25CBC #BC725C #76BC5C #5CA6BC
square
#A25CBC #BC725C #76BC5C #5CA6BC
split-complementary
#A25CBC #A6BC5C #5CBC72
monochromatic
#5E2E70 #82409B #A25CBC #BB87CE #D3B3E0

Accessibility & contrast

On white

4.38
#A25CBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#A25CBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A25CBC
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A25CBC#FFFFFF#000000##000000
##A25CBC1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4874BF
Deuteranopia (green-blind)
#5D7BB9
Tritanopia (blue-blind)
#A16A83
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a25cbc;
/* rgb */ color: rgb(162, 92, 188);
/* oklch */ color: oklch(59.3% 0.157 316.2);
Tailwind
colors: {
  custom: {
    50: '#c08dd0',
    500: '#a25cbc',
    950: '#000000',
  },
}
SCSS
$custom: #a25cbc;
$custom-light: #c08dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#a25cbc",
  "rgb": {
    "r": 162,
    "g": 92,
    "b": 188
  },
  "hsl": {
    "h": 283.75,
    "s": 41.739,
    "l": 54.902
  },
  "oklch": {
    "l": 0.59315,
    "c": 0.15729,
    "h": 316.2
  },
  "luminance": 0.18967
}

Semantic roles & 50–950 ramp

primary
#A25CBC
secondary
#B1CEA6
accent
#D25678
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #A25CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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