#A25FE6#A25FE6

#A25FE6 is a light, vivid violet. Relative luminance 0.216; OKLCH L 62.2% C 0.199 H 304.1°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#A25FE6
RGBrgb(162, 95, 230)
HSLhsl(270, 73%, 64%)
HSVhsv(270, 59%, 90%)
CMYKcmyk(29.6%, 58.7%, 0%, 9.8%)
CIE-LABlab(53.58, 52.48, -58.42)
CIE-LCHlch(53.58, 78.54, 311.93°)
OKLaboklab(62.22% 0.1117 -0.1652)
OKLCHoklch(62.22% 0.199 304.1)
XYZxyz(33.2722, 21.5791, 77.2599)
Luminance0.2158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25FE6 #A3E65F
analogous
#5F5FE6 #A25FE6 #E65FE6
triadic
#A25FE6 #E6A25F #5FE6A2
tetradic
#A25FE6 #E65F5F #A3E65F #5FE6E6
square
#A25FE6 #E65F5F #A3E65F #5FE6E6
split-complementary
#A25FE6 #E6E65F #5FE65F
monochromatic
#651BAF #832ADE #A25FE6 #C194EE #E0C9F7

Accessibility & contrast

On white

3.95
#A25FE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#A25FE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A25FE6
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A25FE6#FFFFFF#000000##000000
##A25FE61.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F7EEA
Deuteranopia (green-blind)
#4080E3
Tritanopia (blue-blind)
#967A9A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a25fe6;
/* rgb */ color: rgb(162, 95, 230);
/* oklch */ color: oklch(62.2% 0.199 304.1);
Tailwind
colors: {
  custom: {
    50: '#c18fef',
    500: '#a25fe6',
    950: '#000000',
  },
}
SCSS
$custom: #a25fe6;
$custom-light: #c18fef;
$custom-dark: #000000;
JSON
{
  "hex": "#a25fe6",
  "rgb": {
    "r": 162,
    "g": 95,
    "b": 230
  },
  "hsl": {
    "h": 269.778,
    "s": 72.973,
    "l": 63.725
  },
  "oklch": {
    "l": 0.6222,
    "c": 0.1994,
    "h": 304.1
  },
  "luminance": 0.21579
}

Semantic roles & 50–950 ramp

primary
#A25FE6
secondary
#D1E8B9
accent
#D51073
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A25FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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