#A25FE4#A25FE4

#A25FE4 is a light, vivid violet. Relative luminance 0.215; OKLCH L 62.1% C 0.197 H 304.5°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#A25FE4
RGBrgb(162, 95, 228)
HSLhsl(270, 71%, 63%)
HSVhsv(270, 58%, 89%)
CMYKcmyk(28.9%, 58.3%, 0%, 10.6%)
CIE-LABlab(53.46, 52.01, -57.49)
CIE-LCHlch(53.46, 77.53, 312.13°)
OKLaboklab(62.09% 0.1117 -0.1625)
OKLCHoklch(62.09% 0.197 304.5)
XYZxyz(32.9930, 21.4674, 75.7892)
Luminance0.2147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25FE4 #A1E45F
analogous
#5F5FE4 #A25FE4 #E45FE3
triadic
#A25FE4 #E4A25F #5FE4A2
tetradic
#A25FE4 #E45F5F #A1E45F #5FE3E4
square
#A25FE4 #E45F5F #A1E45F #5FE3E4
split-complementary
#A25FE4 #E3E45F #5FE45F
monochromatic
#651DAC #842BDB #A25FE4 #C093ED #DFC8F6

Accessibility & contrast

On white

3.97
#A25FE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#A25FE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A25FE4
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A25FE4#FFFFFF#000000##000000
##A25FE41.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#237EE8
Deuteranopia (green-blind)
#4280E1
Tritanopia (blue-blind)
#967999
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a25fe4;
/* rgb */ color: rgb(162, 95, 228);
/* oklch */ color: oklch(62.1% 0.197 304.5);
Tailwind
colors: {
  custom: {
    50: '#c18fed',
    500: '#a25fe4',
    950: '#000000',
  },
}
SCSS
$custom: #a25fe4;
$custom-light: #c18fed;
$custom-dark: #000000;
JSON
{
  "hex": "#a25fe4",
  "rgb": {
    "r": 162,
    "g": 95,
    "b": 228
  },
  "hsl": {
    "h": 270.226,
    "s": 71.123,
    "l": 63.333
  },
  "oklch": {
    "l": 0.62094,
    "c": 0.19715,
    "h": 304.5
  },
  "luminance": 0.21467
}

Semantic roles & 50–950 ramp

primary
#A25FE4
secondary
#CFE7B8
accent
#D31272
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130D16
muted
#827D84

Preview Lab

Preview with #A25FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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