#A25CD9#A25CD9

#A25CD9 is a mid, vivid violet. Relative luminance 0.203; OKLCH L 61.0% C 0.189 H 307.6°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#A25CD9
RGBrgb(162, 92, 217)
HSLhsl(274, 62%, 61%)
HSVhsv(274, 58%, 85%)
CMYKcmyk(25.3%, 57.6%, 0%, 14.9%)
CIE-LABlab(52.23, 51.02, -53.25)
CIE-LCHlch(52.23, 73.74, 313.77°)
OKLaboklab(60.99% 0.1154 -0.15)
OKLCHoklch(60.99% 0.189 307.6)
XYZxyz(31.2493, 20.3458, 67.9131)
Luminance0.2034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25CD9 #93D95C
analogous
#635CD9 #A25CD9 #D95CD1
triadic
#A25CD9 #D9A25C #5CD9A2
tetradic
#A25CD9 #D9635C #93D95C #5CD1D9
square
#A25CD9 #D9635C #93D95C #5CD1D9
split-complementary
#A25CD9 #D1D95C #5CD963
monochromatic
#642397 #852FC9 #A25CD9 #BE8EE5 #DBBFF0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A25CD9#FFFFFF#000000##000000
##A25CD91.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)
#2C7ADD
Deuteranopia (green-blind)
#497DD6
Tritanopia (blue-blind)
#9A7492
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a25cd9;
/* rgb */ color: rgb(162, 92, 217);
/* oklch */ color: oklch(61.0% 0.189 307.6);
Tailwind
colors: {
  custom: {
    50: '#c18de5',
    500: '#a25cd9',
    950: '#000000',
  },
}
SCSS
$custom: #a25cd9;
$custom-light: #c18de5;
$custom-dark: #000000;
JSON
{
  "hex": "#a25cd9",
  "rgb": {
    "r": 162,
    "g": 92,
    "b": 217
  },
  "hsl": {
    "h": 273.6,
    "s": 62.189,
    "l": 60.588
  },
  "oklch": {
    "l": 0.60985,
    "c": 0.18923,
    "h": 307.6
  },
  "luminance": 0.20345
}

Semantic roles & 50–950 ramp

primary
#A25CD9
secondary
#C6E0B1
accent
#CA1C68
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A25CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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