#A25FCA#A25FCA

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

Color values

HEX#A25FCA
RGBrgb(162, 95, 202)
HSLhsl(278, 50%, 58%)
HSVhsv(278, 53%, 79%)
CMYKcmyk(19.8%, 53%, 0%, 20.8%)
CIE-LABlab(51.98, 46.07, -45.09)
CIE-LCHlch(51.98, 64.46, 315.62°)
OKLaboklab(60.54% 0.1108 -0.1262)
OKLCHoklch(60.54% 0.168 311.3)
XYZxyz(29.6512, 20.1307, 58.1893)
Luminance0.2013 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25FCA #87CA5F
analogous
#6C5FCA #A25FCA #CA5FBC
triadic
#A25FCA #CAA25F #5FCAA2
tetradic
#A25FCA #CA6C5F #87CA5F #5FBCCA
square
#A25FCA #CA6C5F #87CA5F #5FBCCA
split-complementary
#A25FCA #BCCA5F #5FCA6C
monochromatic
#622B83 #853BB1 #A25FCA #BD8DD9 #D7BBE8

Accessibility & contrast

On white

4.18
#A25FCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#A25FCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A25FCA
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A25FCA#FFFFFF#000000##000000
##A25FCA1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4279CE
Deuteranopia (green-blind)
#587DC7
Tritanopia (blue-blind)
#9D718C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a25fca;
/* rgb */ color: rgb(162, 95, 202);
/* oklch */ color: oklch(60.5% 0.168 311.3);
Tailwind
colors: {
  custom: {
    50: '#c08fda',
    500: '#a25fca',
    950: '#000000',
  },
}
SCSS
$custom: #a25fca;
$custom-light: #c08fda;
$custom-dark: #000000;
JSON
{
  "hex": "#a25fca",
  "rgb": {
    "r": 162,
    "g": 95,
    "b": 202
  },
  "hsl": {
    "h": 277.57,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.60538,
    "c": 0.16787,
    "h": 311.3
  },
  "luminance": 0.2013
}

Semantic roles & 50–950 ramp

primary
#A25FCA
secondary
#BDD8AD
accent
#DA4E82
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #A25FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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