#A25CDB#A25CDB

#A25CDB is a mid, vivid violet. Relative luminance 0.204; OKLCH L 61.1% C 0.191 H 307.1°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#A25CDB
RGBrgb(162, 92, 219)
HSLhsl(273, 64%, 61%)
HSVhsv(273, 58%, 86%)
CMYKcmyk(26%, 58%, 0%, 14.1%)
CIE-LABlab(52.34, 51.47, -54.20)
CIE-LCHlch(52.34, 74.75, 313.52°)
OKLaboklab(61.11% 0.1154 -0.1528)
OKLCHoklch(61.11% 0.191 307.1)
XYZxyz(31.5110, 20.4505, 69.2914)
Luminance0.2045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25CDB #95DB5C
analogous
#625CDB #A25CDB #DB5CD4
triadic
#A25CDB #DBA25C #5CDBA2
tetradic
#A25CDB #DB625C #95DB5C #5CD4DB
square
#A25CDB #DB625C #95DB5C #5CD4DB
split-complementary
#A25CDB #D4DB5C #5CDB62
monochromatic
#64229A #852DCD #A25CDB #BF8EE6 #DBC0F1

Accessibility & contrast

On white

4.13
#A25CDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#A25CDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A25CDB
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A25CDB#FFFFFF#000000##000000
##A25CDB1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#297ADF
Deuteranopia (green-blind)
#477DD8
Tritanopia (blue-blind)
#997493
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a25cdb;
/* rgb */ color: rgb(162, 92, 219);
/* oklch */ color: oklch(61.1% 0.191 307.1);
Tailwind
colors: {
  custom: {
    50: '#c18de7',
    500: '#a25cdb',
    950: '#000000',
  },
}
SCSS
$custom: #a25cdb;
$custom-light: #c18de7;
$custom-dark: #000000;
JSON
{
  "hex": "#a25cdb",
  "rgb": {
    "r": 162,
    "g": 92,
    "b": 219
  },
  "hsl": {
    "h": 273.071,
    "s": 63.819,
    "l": 60.98
  },
  "oklch": {
    "l": 0.61108,
    "c": 0.19145,
    "h": 307.1
  },
  "luminance": 0.2045
}

Semantic roles & 50–950 ramp

primary
#A25CDB
secondary
#C7E1B1
accent
#CC1A6A
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A25CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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