#A25BDB#A25BDB

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

Color values

HEX#A25BDB
RGBrgb(162, 91, 219)
HSLhsl(273, 64%, 61%)
HSVhsv(273, 58%, 86%)
CMYKcmyk(26%, 58.4%, 0%, 14.1%)
CIE-LABlab(52.15, 51.99, -54.50)
CIE-LCHlch(52.15, 75.32, 313.65°)
OKLaboklab(60.97% 0.1166 -0.1537)
OKLCHoklch(60.97% 0.193 307.2)
XYZxyz(31.4249, 20.2784, 69.2627)
Luminance0.2028 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25BDB #94DB5B
analogous
#625BDB #A25BDB #DB5BD4
triadic
#A25BDB #DBA25B #5BDBA2
tetradic
#A25BDB #DB625B #94DB5B #5BD4DB
square
#A25BDB #DB625B #94DB5B #5BD4DB
split-complementary
#A25BDB #D4DB5B #5BDB62
monochromatic
#64229A #852DCC #A25BDB #BE8DE6 #DBBFF1

Accessibility & contrast

On white

4.15
#A25BDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#A25BDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A25BDB
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A25BDB#FFFFFF#000000##000000
##A25BDB1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#277ADF
Deuteranopia (green-blind)
#467DD8
Tritanopia (blue-blind)
#997492
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a25bdb;
/* rgb */ color: rgb(162, 91, 219);
/* oklch */ color: oklch(61.0% 0.193 307.2);
Tailwind
colors: {
  custom: {
    50: '#c18ce7',
    500: '#a25bdb',
    950: '#000000',
  },
}
SCSS
$custom: #a25bdb;
$custom-light: #c18ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#a25bdb",
  "rgb": {
    "r": 162,
    "g": 91,
    "b": 219
  },
  "hsl": {
    "h": 273.281,
    "s": 64,
    "l": 60.784
  },
  "oklch": {
    "l": 0.60968,
    "c": 0.19291,
    "h": 307.2
  },
  "luminance": 0.20278
}

Semantic roles & 50–950 ramp

primary
#A25BDB
secondary
#C6E1B1
accent
#CC1A69
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A25BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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