#A25FDF#A25FDF

#A25FDF is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.8% C 0.192 H 305.7°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#A25FDF
RGBrgb(162, 95, 223)
HSLhsl(271, 67%, 62%)
HSVhsv(271, 57%, 87%)
CMYKcmyk(27.4%, 57.4%, 0%, 12.5%)
CIE-LABlab(53.16, 50.84, -55.15)
CIE-LCHlch(53.16, 75.01, 312.67°)
OKLaboklab(61.78% 0.1117 -0.1556)
OKLCHoklch(61.78% 0.192 305.7)
XYZxyz(32.3089, 21.1938, 72.1865)
Luminance0.2119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25FDF #9CDF5F
analogous
#625FDF #A25FDF #DF5FDC
triadic
#A25FDF #DFA25F #5FDFA2
tetradic
#A25FDF #DF625F #9CDF5F #5FDCDF
square
#A25FDF #DF625F #9CDF5F #5FDCDF
split-complementary
#A25FDF #DCDF5F #5FDF62
monochromatic
#6521A3 #842CD5 #A25FDF #C092E9 #DDC5F3

Accessibility & contrast

On white

4.01
#A25FDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#A25FDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A25FDF
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A25FDF#FFFFFF#000000##000000
##A25FDF1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B7DE3
Deuteranopia (green-blind)
#477FDC
Tritanopia (blue-blind)
#987896
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a25fdf;
/* rgb */ color: rgb(162, 95, 223);
/* oklch */ color: oklch(61.8% 0.192 305.7);
Tailwind
colors: {
  custom: {
    50: '#c18fea',
    500: '#a25fdf',
    950: '#000000',
  },
}
SCSS
$custom: #a25fdf;
$custom-light: #c18fea;
$custom-dark: #000000;
JSON
{
  "hex": "#a25fdf",
  "rgb": {
    "r": 162,
    "g": 95,
    "b": 223
  },
  "hsl": {
    "h": 271.406,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.61782,
    "c": 0.19151,
    "h": 305.7
  },
  "luminance": 0.21194
}

Semantic roles & 50–950 ramp

primary
#A25FDF
secondary
#CCE4B6
accent
#CF176E
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130D16
muted
#827D84

Preview Lab

Preview with #A25FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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