#A25FCF#A25FCF

#A25FCF is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.8% C 0.173 H 309.8°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#A25FCF
RGBrgb(162, 95, 207)
HSLhsl(276, 54%, 59%)
HSVhsv(276, 54%, 81%)
CMYKcmyk(21.7%, 54.1%, 0%, 18.8%)
CIE-LABlab(52.25, 47.19, -47.52)
CIE-LCHlch(52.25, 66.97, 314.80°)
OKLaboklab(60.82% 0.1111 -0.1332)
OKLCHoklch(60.82% 0.174 309.8)
XYZxyz(30.2529, 20.3713, 61.3577)
Luminance0.2037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25FCF #8CCF5F
analogous
#6A5FCF #A25FCF #CF5FC4
triadic
#A25FCF #CFA25F #5FCFA2
tetradic
#A25FCF #CF6A5F #8CCF5F #5FC4CF
square
#A25FCF #CF6A5F #8CCF5F #5FC4CF
split-complementary
#A25FCF #C4CF5F #5FCF6A
monochromatic
#63298A #8538B9 #A25FCF #BD8EDD #D9BDEB

Accessibility & contrast

On white

4.14
#A25FCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#A25FCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A25FCF
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A25FCF#FFFFFF#000000##000000
##A25FCF1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E7AD3
Deuteranopia (green-blind)
#547ECC
Tritanopia (blue-blind)
#9C738E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a25fcf;
/* rgb */ color: rgb(162, 95, 207);
/* oklch */ color: oklch(60.8% 0.173 309.8);
Tailwind
colors: {
  custom: {
    50: '#c08fde',
    500: '#a25fcf',
    950: '#000000',
  },
}
SCSS
$custom: #a25fcf;
$custom-light: #c08fde;
$custom-dark: #000000;
JSON
{
  "hex": "#a25fcf",
  "rgb": {
    "r": 162,
    "g": 95,
    "b": 207
  },
  "hsl": {
    "h": 275.893,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.60824,
    "c": 0.1735,
    "h": 309.8
  },
  "luminance": 0.20371
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A25FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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