#A25ECC#A25ECC

#A25ECC is a mid, vivid violet. Relative luminance 0.200; OKLCH L 60.5% C 0.172 H 310.8°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#A25ECC
RGBrgb(162, 94, 204)
HSLhsl(277, 52%, 58%)
HSVhsv(277, 54%, 80%)
CMYKcmyk(20.6%, 53.9%, 0%, 20%)
CIE-LABlab(51.89, 47.04, -46.38)
CIE-LCHlch(51.89, 66.06, 315.41°)
OKLaboklab(60.5% 0.1122 -0.1299)
OKLCHoklch(60.5% 0.172 310.8)
XYZxyz(29.8001, 20.0470, 59.4147)
Luminance0.2005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25ECC #88CC5E
analogous
#6B5ECC #A25ECC #CC5EBF
triadic
#A25ECC #CCA25E #5ECCA2
tetradic
#A25ECC #CC6B5E #88CC5E #5EBFCC
square
#A25ECC #CC6B5E #88CC5E #5EBFCC
split-complementary
#A25ECC #BFCC5E #5ECC6B
monochromatic
#632A85 #8539B4 #A25ECC #BD8CDB #D8BBE9

Accessibility & contrast

On white

4.19
#A25ECC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#A25ECC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A25ECC
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A25ECC#FFFFFF#000000##000000
##A25ECC1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F78D0
Deuteranopia (green-blind)
#557DC9
Tritanopia (blue-blind)
#9D718C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a25ecc;
/* rgb */ color: rgb(162, 94, 204);
/* oklch */ color: oklch(60.5% 0.172 310.8);
Tailwind
colors: {
  custom: {
    50: '#c08edc',
    500: '#a25ecc',
    950: '#000000',
  },
}
SCSS
$custom: #a25ecc;
$custom-light: #c08edc;
$custom-dark: #000000;
JSON
{
  "hex": "#a25ecc",
  "rgb": {
    "r": 162,
    "g": 94,
    "b": 204
  },
  "hsl": {
    "h": 277.091,
    "s": 51.887,
    "l": 58.431
  },
  "oklch": {
    "l": 0.60503,
    "c": 0.1717,
    "h": 310.8
  },
  "luminance": 0.20046
}

Semantic roles & 50–950 ramp

primary
#A25ECC
secondary
#BED9AD
accent
#DB4C83
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A25ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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