#A25FCE#A25FCE

#A25FCE is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.8% C 0.172 H 310.1°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#A25FCE
RGBrgb(162, 95, 206)
HSLhsl(276, 53%, 59%)
HSVhsv(276, 54%, 81%)
CMYKcmyk(21.4%, 53.9%, 0%, 19.2%)
CIE-LABlab(52.20, 46.96, -47.03)
CIE-LCHlch(52.20, 66.46, 314.96°)
OKLaboklab(60.77% 0.111 -0.1318)
OKLCHoklch(60.77% 0.172 310.1)
XYZxyz(30.1310, 20.3226, 60.7159)
Luminance0.2032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25FCE #8BCE5F
analogous
#6B5FCE #A25FCE #CE5FC3
triadic
#A25FCE #CEA25F #5FCEA2
tetradic
#A25FCE #CE6B5F #8BCE5F #5FC3CE
square
#A25FCE #CE6B5F #8BCE5F #5FC3CE
split-complementary
#A25FCE #C3CE5F #5FCE6B
monochromatic
#632A89 #8538B8 #A25FCE #BD8EDC #D8BDEB

Accessibility & contrast

On white

4.15
#A25FCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#A25FCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A25FCE
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A25FCE#FFFFFF#000000##000000
##A25FCE1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F79D2
Deuteranopia (green-blind)
#557ECB
Tritanopia (blue-blind)
#9C728D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a25fce;
/* rgb */ color: rgb(162, 95, 206);
/* oklch */ color: oklch(60.8% 0.172 310.1);
Tailwind
colors: {
  custom: {
    50: '#c08fdd',
    500: '#a25fce',
    950: '#000000',
  },
}
SCSS
$custom: #a25fce;
$custom-light: #c08fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#a25fce",
  "rgb": {
    "r": 162,
    "g": 95,
    "b": 206
  },
  "hsl": {
    "h": 276.216,
    "s": 53.11,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60766,
    "c": 0.17237,
    "h": 310.1
  },
  "luminance": 0.20322
}

Semantic roles & 50–950 ramp

primary
#A25FCE
secondary
#C0DAAF
accent
#DD4B85
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A25FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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