#A25BDE#A25BDE

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

Color values

HEX#A25BDE
RGBrgb(162, 91, 222)
HSLhsl(273, 66%, 61%)
HSVhsv(273, 59%, 87%)
CMYKcmyk(27%, 59%, 0%, 12.9%)
CIE-LABlab(52.33, 52.67, -55.92)
CIE-LCHlch(52.33, 76.82, 313.29°)
OKLaboklab(61.16% 0.1166 -0.1578)
OKLCHoklch(61.16% 0.196 306.5)
XYZxyz(31.8234, 20.4378, 71.3615)
Luminance0.2044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25BDE #97DE5B
analogous
#615BDE #A25BDE #DE5BD9
triadic
#A25BDE #DEA25B #5BDEA2
tetradic
#A25BDE #DE615B #97DE5B #5BD9DE
square
#A25BDE #DE615B #97DE5B #5BD9DE
split-complementary
#A25BDE #D9DE5B #5BDE61
monochromatic
#65209F #852AD2 #A25BDE #BF8EE8 #DCC1F3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A25BDE#FFFFFF#000000##000000
##A25BDE1.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)
#217AE2
Deuteranopia (green-blind)
#437DDB
Tritanopia (blue-blind)
#987594
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a25bde;
/* rgb */ color: rgb(162, 91, 222);
/* oklch */ color: oklch(61.2% 0.196 306.5);
Tailwind
colors: {
  custom: {
    50: '#c18de9',
    500: '#a25bde',
    950: '#000000',
  },
}
SCSS
$custom: #a25bde;
$custom-light: #c18de9;
$custom-dark: #000000;
JSON
{
  "hex": "#a25bde",
  "rgb": {
    "r": 162,
    "g": 91,
    "b": 222
  },
  "hsl": {
    "h": 272.519,
    "s": 66.497,
    "l": 61.373
  },
  "oklch": {
    "l": 0.61155,
    "c": 0.19622,
    "h": 306.5
  },
  "luminance": 0.20437
}

Semantic roles & 50–950 ramp

primary
#A25BDE
secondary
#C8E3B2
accent
#CE176B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A25BDE

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

Preview Lab → · Contrast checker → · Palette generator →

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