#A25FC9#A25FC9

#A25FC9 is a mid, vivid violet. Relative luminance 0.201; OKLCH L 60.5% C 0.167 H 311.6°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#A25FC9
RGBrgb(162, 95, 201)
HSLhsl(278, 50%, 58%)
HSVhsv(278, 53%, 79%)
CMYKcmyk(19.4%, 52.7%, 0%, 21.2%)
CIE-LABlab(51.93, 45.85, -44.60)
CIE-LCHlch(51.93, 63.96, 315.79°)
OKLaboklab(60.48% 0.1107 -0.1247)
OKLCHoklch(60.48% 0.167 311.6)
XYZxyz(29.5332, 20.0835, 57.5677)
Luminance0.2008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25FC9 #86C95F
analogous
#6D5FC9 #A25FC9 #C95FBB
triadic
#A25FC9 #C9A25F #5FC9A2
tetradic
#A25FC9 #C96D5F #86C95F #5FBBC9
square
#A25FC9 #C96D5F #86C95F #5FBBC9
split-complementary
#A25FC9 #BBC95F #5FC96D
monochromatic
#622C82 #853BB0 #A25FC9 #BD8DD8 #D7BBE8

Accessibility & contrast

On white

4.19
#A25FC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#A25FC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A25FC9
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A25FC9#FFFFFF#000000##000000
##A25FC91.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4378CD
Deuteranopia (green-blind)
#587DC6
Tritanopia (blue-blind)
#9E718B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a25fc9;
/* rgb */ color: rgb(162, 95, 201);
/* oklch */ color: oklch(60.5% 0.167 311.6);
Tailwind
colors: {
  custom: {
    50: '#c08fda',
    500: '#a25fc9',
    950: '#000000',
  },
}
SCSS
$custom: #a25fc9;
$custom-light: #c08fda;
$custom-dark: #000000;
JSON
{
  "hex": "#a25fc9",
  "rgb": {
    "r": 162,
    "g": 95,
    "b": 201
  },
  "hsl": {
    "h": 277.925,
    "s": 49.533,
    "l": 58.039
  },
  "oklch": {
    "l": 0.60481,
    "c": 0.16676,
    "h": 311.6
  },
  "luminance": 0.20083
}

Semantic roles & 50–950 ramp

primary
#A25FC9
secondary
#BCD7AD
accent
#D94F82
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #A25FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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