#A25FDA#A25FDA

#A25FDA is a mid, vivid violet. Relative luminance 0.209; OKLCH L 61.5% C 0.186 H 306.9°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#A25FDA
RGBrgb(162, 95, 218)
HSLhsl(273, 62%, 61%)
HSVhsv(273, 56%, 85%)
CMYKcmyk(25.7%, 56.4%, 0%, 14.5%)
CIE-LABlab(52.87, 49.69, -52.79)
CIE-LCHlch(52.87, 72.49, 313.27°)
OKLaboklab(61.48% 0.1116 -0.1487)
OKLCHoklch(61.48% 0.186 306.9)
XYZxyz(31.6448, 20.9281, 68.6885)
Luminance0.2093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25FDA #97DA5F
analogous
#655FDA #A25FDA #DA5FD5
triadic
#A25FDA #DAA25F #5FDAA2
tetradic
#A25FDA #DA655F #97DA5F #5FD5DA
square
#A25FDA #DA655F #97DA5F #5FD5DA
split-complementary
#A25FDA #D5DA5F #5FDA65
monochromatic
#65249B #852FCD #A25FDA #BF91E5 #DCC2F1

Accessibility & contrast

On white

4.05
#A25FDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#A25FDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A25FDA
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A25FDA#FFFFFF#000000##000000
##A25FDA1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#327CDE
Deuteranopia (green-blind)
#4C7FD7
Tritanopia (blue-blind)
#997693
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a25fda;
/* rgb */ color: rgb(162, 95, 218);
/* oklch */ color: oklch(61.5% 0.186 306.9);
Tailwind
colors: {
  custom: {
    50: '#c18fe6',
    500: '#a25fda',
    950: '#000000',
  },
}
SCSS
$custom: #a25fda;
$custom-light: #c18fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#a25fda",
  "rgb": {
    "r": 162,
    "g": 95,
    "b": 218
  },
  "hsl": {
    "h": 272.683,
    "s": 62.437,
    "l": 61.373
  },
  "oklch": {
    "l": 0.61476,
    "c": 0.18588,
    "h": 306.9
  },
  "luminance": 0.20928
}

Semantic roles & 50–950 ramp

primary
#A25FDA
secondary
#C8E1B3
accent
#CA1B6B
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130D16
muted
#827D84

Preview Lab

Preview with #A25FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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