#A25FEF#A25FEF

#A25FEF is a light, highly saturated violet. Relative luminance 0.221; OKLCH L 62.8% C 0.209 H 302.1°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#A25FEF
RGBrgb(162, 95, 239)
HSLhsl(268, 82%, 65%)
HSVhsv(268, 60%, 94%)
CMYKcmyk(32.2%, 60.3%, 0%, 6.3%)
CIE-LABlab(54.13, 54.62, -62.58)
CIE-LCHlch(54.13, 83.06, 311.11°)
OKLaboklab(62.8% 0.1115 -0.1774)
OKLCHoklch(62.8% 0.21 302.1)
XYZxyz(34.5689, 22.0977, 84.0887)
Luminance0.2210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25FEF #ACEF5F
analogous
#5F64EF #A25FEF #EA5FEF
triadic
#A25FEF #EFA25F #5FEFA2
tetradic
#A25FEF #EF5F64 #ACEF5F #5FEFEA
square
#A25FEF #EF5F64 #ACEF5F #5FEFEA
split-complementary
#A25FEF #EFEA5F #64EF5F
monochromatic
#6413C0 #8227E9 #A25FEF #C297F5 #E3CEFA

Accessibility & contrast

On white

3.87
#A25FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#A25FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A25FEF
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A25FEF#FFFFFF#000000##000000
##A25FEF1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F4
Deuteranopia (green-blind)
#3481EC
Tritanopia (blue-blind)
#937D9E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a25fef;
/* rgb */ color: rgb(162, 95, 239);
/* oklch */ color: oklch(62.8% 0.209 302.1);
Tailwind
colors: {
  custom: {
    50: '#c28ff5',
    500: '#a25fef',
    950: '#000000',
  },
}
SCSS
$custom: #a25fef;
$custom-light: #c28ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#a25fef",
  "rgb": {
    "r": 162,
    "g": 95,
    "b": 239
  },
  "hsl": {
    "h": 267.917,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.628,
    "c": 0.2095,
    "h": 302.1
  },
  "luminance": 0.22098
}

Semantic roles & 50–950 ramp

primary
#A25FEF
secondary
#D7EDBD
accent
#DE077A
background
#FCF9FF
surface
#F8F1FE
border
#D1CBD6
text
#130D17
muted
#827E85

Preview Lab

Preview with #A25FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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