#A25FCD#A25FCD

#A25FCD is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.7% C 0.171 H 310.4°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#A25FCD
RGBrgb(162, 95, 205)
HSLhsl(277, 52%, 59%)
HSVhsv(277, 54%, 80%)
CMYKcmyk(21%, 53.7%, 0%, 19.6%)
CIE-LABlab(52.15, 46.74, -46.55)
CIE-LCHlch(52.15, 65.96, 315.12°)
OKLaboklab(60.71% 0.111 -0.1304)
OKLCHoklch(60.71% 0.171 310.4)
XYZxyz(30.0099, 20.2741, 60.0782)
Luminance0.2027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25FCD #8ACD5F
analogous
#6B5FCD #A25FCD #CD5FC1
triadic
#A25FCD #CDA25F #5FCDA2
tetradic
#A25FCD #CD6B5F #8ACD5F #5FC1CD
square
#A25FCD #CD6B5F #8ACD5F #5FC1CD
split-complementary
#A25FCD #C1CD5F #5FCD6B
monochromatic
#632A87 #8539B6 #A25FCD #BD8EDC #D8BCEA

Accessibility & contrast

On white

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

On black

5.05
#A25FCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A25FCD
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A25FCD#FFFFFF#000000##000000
##A25FCD1.004.155.055.05
#FFFFFF4.151.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F79D1
Deuteranopia (green-blind)
#567ECA
Tritanopia (blue-blind)
#9D728D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a25fcd;
/* rgb */ color: rgb(162, 95, 205);
/* oklch */ color: oklch(60.7% 0.171 310.4);
Tailwind
colors: {
  custom: {
    50: '#c08fdd',
    500: '#a25fcd',
    950: '#000000',
  },
}
SCSS
$custom: #a25fcd;
$custom-light: #c08fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#a25fcd",
  "rgb": {
    "r": 162,
    "g": 95,
    "b": 205
  },
  "hsl": {
    "h": 276.545,
    "s": 52.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.60709,
    "c": 0.17125,
    "h": 310.4
  },
  "luminance": 0.20274
}

Semantic roles & 50–950 ramp

primary
#A25FCD
secondary
#BFDAAE
accent
#DC4C84
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #A25FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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