#A25CE3#A25CE3

#A25CE3 is a mid, highly saturated violet. Relative luminance 0.209; OKLCH L 61.6% C 0.200 H 305.2°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#A25CE3
RGBrgb(162, 92, 227)
HSLhsl(271, 71%, 63%)
HSVhsv(271, 59%, 89%)
CMYKcmyk(28.6%, 59.5%, 0%, 11%)
CIE-LABlab(52.82, 53.32, -57.95)
CIE-LCHlch(52.82, 78.75, 312.62°)
OKLaboklab(61.61% 0.1153 -0.1638)
OKLCHoklch(61.61% 0.2 305.2)
XYZxyz(32.5895, 20.8819, 74.9719)
Luminance0.2088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25CE3 #9DE35C
analogous
#5E5CE3 #A25CE3 #E35CE1
triadic
#A25CE3 #E3A25C #5CE3A2
tetradic
#A25CE3 #E35E5C #9DE35C #5CE1E3
square
#A25CE3 #E35E5C #9DE35C #5CE1E3
split-complementary
#A25CE3 #E1E35C #5CE35E
monochromatic
#651DA8 #8428DA #A25CE3 #C090EC #DEC4F5

Accessibility & contrast

On white

4.06
#A25CE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#A25CE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A25CE3
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A25CE3#FFFFFF#000000##000000
##A25CE31.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A7CE7
Deuteranopia (green-blind)
#3F7EE0
Tritanopia (blue-blind)
#977797
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a25ce3;
/* rgb */ color: rgb(162, 92, 227);
/* oklch */ color: oklch(61.6% 0.200 305.2);
Tailwind
colors: {
  custom: {
    50: '#c18dec',
    500: '#a25ce3',
    950: '#000000',
  },
}
SCSS
$custom: #a25ce3;
$custom-light: #c18dec;
$custom-dark: #000000;
JSON
{
  "hex": "#a25ce3",
  "rgb": {
    "r": 162,
    "g": 92,
    "b": 227
  },
  "hsl": {
    "h": 271.111,
    "s": 70.681,
    "l": 62.549
  },
  "oklch": {
    "l": 0.6161,
    "c": 0.20032,
    "h": 305.2
  },
  "luminance": 0.20882
}

Semantic roles & 50–950 ramp

primary
#A25CE3
secondary
#CCE6B5
accent
#D3136F
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A25CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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