#A25FC2#A25FC2

#A25FC2 is a mid, vivid purple. Relative luminance 0.198; OKLCH L 60.1% C 0.159 H 313.8°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#A25FC2
RGBrgb(162, 95, 194)
HSLhsl(281, 45%, 57%)
HSVhsv(281, 51%, 76%)
CMYKcmyk(16.5%, 51%, 0%, 23.9%)
CIE-LABlab(51.57, 44.32, -41.16)
CIE-LCHlch(51.57, 60.48, 317.12°)
OKLaboklab(60.09% 0.11 -0.1147)
OKLCHoklch(60.09% 0.159 313.8)
XYZxyz(28.7285, 19.7616, 53.3295)
Luminance0.1976 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25FC2 #7FC25F
analogous
#715FC2 #A25FC2 #C25FB1
triadic
#A25FC2 #C2A25F #5FC2A2
tetradic
#A25FC2 #C2715F #7FC25F #5FB1C2
square
#A25FC2 #C2715F #7FC25F #5FB1C2
split-complementary
#A25FC2 #B1C25F #5FC271
monochromatic
#602E79 #843FA5 #A25FC2 #BC8BD3 #D6B8E4

Accessibility & contrast

On white

4.24
#A25FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#A25FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A25FC2
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A25FC2#FFFFFF#000000##000000
##A25FC21.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4877C5
Deuteranopia (green-blind)
#5C7DBF
Tritanopia (blue-blind)
#9F6F88
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a25fc2;
/* rgb */ color: rgb(162, 95, 194);
/* oklch */ color: oklch(60.1% 0.159 313.8);
Tailwind
colors: {
  custom: {
    50: '#c08fd5',
    500: '#a25fc2',
    950: '#000000',
  },
}
SCSS
$custom: #a25fc2;
$custom-light: #c08fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#a25fc2",
  "rgb": {
    "r": 162,
    "g": 95,
    "b": 194
  },
  "hsl": {
    "h": 280.606,
    "s": 44.796,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60093,
    "c": 0.15895,
    "h": 313.8
  },
  "luminance": 0.19761
}

Semantic roles & 50–950 ramp

primary
#A25FC2
secondary
#B7D3AA
accent
#D4537D
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #A25FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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