#A25CDC#A25CDC

#A25CDC is a mid, vivid violet. Relative luminance 0.205; OKLCH L 61.2% C 0.193 H 306.8°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#A25CDC
RGBrgb(162, 92, 220)
HSLhsl(273, 65%, 61%)
HSVhsv(273, 58%, 86%)
CMYKcmyk(26.4%, 58.2%, 0%, 13.7%)
CIE-LABlab(52.40, 51.70, -54.67)
CIE-LCHlch(52.40, 75.25, 313.40°)
OKLaboklab(61.17% 0.1154 -0.1542)
OKLCHoklch(61.17% 0.193 306.8)
XYZxyz(31.6430, 20.5033, 69.9868)
Luminance0.2050 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25CDC #96DC5C
analogous
#625CDC #A25CDC #DC5CD6
triadic
#A25CDC #DCA25C #5CDCA2
tetradic
#A25CDC #DC625C #96DC5C #5CD6DC
square
#A25CDC #DC625C #96DC5C #5CD6DC
split-complementary
#A25CDC #D6DC5C #5CDC62
monochromatic
#65229C #852CCE #A25CDC #BF8EE7 #DBC1F2

Accessibility & contrast

On white

4.12
#A25CDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#A25CDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A25CDC
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A25CDC#FFFFFF#000000##000000
##A25CDC1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#287BE0
Deuteranopia (green-blind)
#467ED9
Tritanopia (blue-blind)
#997593
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a25cdc;
/* rgb */ color: rgb(162, 92, 220);
/* oklch */ color: oklch(61.2% 0.193 306.8);
Tailwind
colors: {
  custom: {
    50: '#c18de7',
    500: '#a25cdc',
    950: '#000000',
  },
}
SCSS
$custom: #a25cdc;
$custom-light: #c18de7;
$custom-dark: #000000;
JSON
{
  "hex": "#a25cdc",
  "rgb": {
    "r": 162,
    "g": 92,
    "b": 220
  },
  "hsl": {
    "h": 272.813,
    "s": 64.646,
    "l": 61.176
  },
  "oklch": {
    "l": 0.6117,
    "c": 0.19256,
    "h": 306.8
  },
  "luminance": 0.20503
}

Semantic roles & 50–950 ramp

primary
#A25CDC
secondary
#C8E2B2
accent
#CC196A
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A25CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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