#A25DDC#A25DDC

#A25DDC is a mid, vivid violet. Relative luminance 0.207; OKLCH L 61.3% C 0.191 H 306.7°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#A25DDC
RGBrgb(162, 93, 220)
HSLhsl(273, 64%, 61%)
HSVhsv(273, 58%, 86%)
CMYKcmyk(26.4%, 57.7%, 0%, 13.7%)
CIE-LABlab(52.59, 51.19, -54.36)
CIE-LCHlch(52.59, 74.67, 313.28°)
OKLaboklab(61.31% 0.1141 -0.1533)
OKLCHoklch(61.31% 0.191 306.7)
XYZxyz(31.7302, 20.6777, 70.0159)
Luminance0.2068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25DDC #97DC5D
analogous
#635DDC #A25DDC #DC5DD7
triadic
#A25DDC #DCA25D #5DDCA2
tetradic
#A25DDC #DC635D #97DC5D #5DD7DC
square
#A25DDC #DC635D #97DC5D #5DD7DC
split-complementary
#A25DDC #D7DC5D #5DDC63
monochromatic
#65229D #852DCF #A25DDC #BF8FE7 #DCC2F2

Accessibility & contrast

On white

4.09
#A25DDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#A25DDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A25DDC
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A25DDC#FFFFFF#000000##000000
##A25DDC1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A7BE0
Deuteranopia (green-blind)
#477ED9
Tritanopia (blue-blind)
#997594
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a25ddc;
/* rgb */ color: rgb(162, 93, 220);
/* oklch */ color: oklch(61.3% 0.191 306.7);
Tailwind
colors: {
  custom: {
    50: '#c18ee7',
    500: '#a25ddc',
    950: '#000000',
  },
}
SCSS
$custom: #a25ddc;
$custom-light: #c18ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#a25ddc",
  "rgb": {
    "r": 162,
    "g": 93,
    "b": 220
  },
  "hsl": {
    "h": 272.598,
    "s": 64.467,
    "l": 61.373
  },
  "oklch": {
    "l": 0.61312,
    "c": 0.19109,
    "h": 306.7
  },
  "luminance": 0.20677
}

Semantic roles & 50–950 ramp

primary
#A25DDC
secondary
#C8E2B3
accent
#CC196B
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A25DDC

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

Preview Lab → · Contrast checker → · Palette generator →

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