#A25ECE#A25ECE

#A25ECE is a mid, vivid violet. Relative luminance 0.201; OKLCH L 60.6% C 0.174 H 310.2°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#A25ECE
RGBrgb(162, 94, 206)
HSLhsl(276, 53%, 59%)
HSVhsv(276, 54%, 81%)
CMYKcmyk(21.4%, 54.4%, 0%, 19.2%)
CIE-LABlab(52.00, 47.49, -47.35)
CIE-LCHlch(52.00, 67.06, 315.08°)
OKLaboklab(60.62% 0.1124 -0.1328)
OKLCHoklch(60.62% 0.174 310.2)
XYZxyz(30.0415, 20.1436, 60.6861)
Luminance0.2014 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25ECE #8ACE5E
analogous
#6A5ECE #A25ECE #CE5EC2
triadic
#A25ECE #CEA25E #5ECEA2
tetradic
#A25ECE #CE6A5E #8ACE5E #5EC2CE
square
#A25ECE #CE6A5E #8ACE5E #5EC2CE
split-complementary
#A25ECE #C2CE5E #5ECE6A
monochromatic
#632988 #8538B7 #A25ECE #BD8DDC #D8BCEB

Accessibility & contrast

On white

4.18
#A25ECE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#A25ECE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A25ECE
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A25ECE#FFFFFF#000000##000000
##A25ECE1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D79D2
Deuteranopia (green-blind)
#547DCB
Tritanopia (blue-blind)
#9C728D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a25ece;
/* rgb */ color: rgb(162, 94, 206);
/* oklch */ color: oklch(60.6% 0.174 310.2);
Tailwind
colors: {
  custom: {
    50: '#c08edd',
    500: '#a25ece',
    950: '#000000',
  },
}
SCSS
$custom: #a25ece;
$custom-light: #c08edd;
$custom-dark: #000000;
JSON
{
  "hex": "#a25ece",
  "rgb": {
    "r": 162,
    "g": 94,
    "b": 206
  },
  "hsl": {
    "h": 276.429,
    "s": 53.333,
    "l": 58.824
  },
  "oklch": {
    "l": 0.60619,
    "c": 0.17393,
    "h": 310.2
  },
  "luminance": 0.20143
}

Semantic roles & 50–950 ramp

primary
#A25ECE
secondary
#BFDAAE
accent
#DD4B84
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A25ECE

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

Preview Lab → · Contrast checker → · Palette generator →

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