#A25FE2#A25FE2

#A25FE2 is a mid, vivid violet. Relative luminance 0.214; OKLCH L 62.0% C 0.195 H 305.0°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#A25FE2
RGBrgb(162, 95, 226)
HSLhsl(271, 69%, 63%)
HSVhsv(271, 58%, 89%)
CMYKcmyk(28.3%, 58%, 0%, 11.4%)
CIE-LABlab(53.34, 51.54, -56.56)
CIE-LCHlch(53.34, 76.52, 312.34°)
OKLaboklab(61.97% 0.1117 -0.1597)
OKLCHoklch(61.97% 0.195 305)
XYZxyz(32.7170, 21.3570, 74.3355)
Luminance0.2136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25FE2 #9FE25F
analogous
#605FE2 #A25FE2 #E25FE0
triadic
#A25FE2 #E2A25F #5FE2A2
tetradic
#A25FE2 #E2605F #9FE25F #5FE0E2
square
#A25FE2 #E2605F #9FE25F #5FE0E2
split-complementary
#A25FE2 #E0E25F #5FE260
monochromatic
#651EA8 #842BD9 #A25FE2 #C093EB #DEC7F5

Accessibility & contrast

On white

3.98
#A25FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#A25FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A25FE2
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A25FE2#FFFFFF#000000##000000
##A25FE21.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#267DE6
Deuteranopia (green-blind)
#4480DF
Tritanopia (blue-blind)
#977998
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a25fe2;
/* rgb */ color: rgb(162, 95, 226);
/* oklch */ color: oklch(62.0% 0.195 305.0);
Tailwind
colors: {
  custom: {
    50: '#c18fec',
    500: '#a25fe2',
    950: '#000000',
  },
}
SCSS
$custom: #a25fe2;
$custom-light: #c18fec;
$custom-dark: #000000;
JSON
{
  "hex": "#a25fe2",
  "rgb": {
    "r": 162,
    "g": 95,
    "b": 226
  },
  "hsl": {
    "h": 270.687,
    "s": 69.312,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61969,
    "c": 0.1949,
    "h": 305
  },
  "luminance": 0.21357
}

Semantic roles & 50–950 ramp

primary
#A25FE2
secondary
#CEE6B7
accent
#D11471
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130D16
muted
#827D84

Preview Lab

Preview with #A25FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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