#A05FDB#A05FDB

#A05FDB is a mid, vivid violet. Relative luminance 0.208; OKLCH L 61.3% C 0.186 H 305.8°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#A05FDB
RGBrgb(160, 95, 219)
HSLhsl(271, 63%, 62%)
HSVhsv(271, 57%, 86%)
CMYKcmyk(26.9%, 56.6%, 0%, 14.1%)
CIE-LABlab(52.70, 49.43, -53.64)
CIE-LCHlch(52.70, 72.94, 312.66°)
OKLaboklab(61.32% 0.1091 -0.1512)
OKLCHoklch(61.32% 0.186 305.8)
XYZxyz(31.3729, 20.7727, 69.3609)
Luminance0.2077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A05FDB #9ADB5F
analogous
#625FDB #A05FDB #DB5FD8
triadic
#A05FDB #DBA05F #5FDBA0
tetradic
#A05FDB #DB625F #9ADB5F #5FD8DB
square
#A05FDB #DB625F #9ADB5F #5FD8DB
split-complementary
#A05FDB #D8DB5F #5FDB62
monochromatic
#63239C #822ECE #A05FDB #BE91E6 #DBC3F1

Accessibility & contrast

On white

4.07
#A05FDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#A05FDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A05FDB
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A05FDB#FFFFFF#000000##000000
##A05FDB1.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F7CDF
Deuteranopia (green-blind)
#497ED8
Tritanopia (blue-blind)
#967794
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a05fdb;
/* rgb */ color: rgb(160, 95, 219);
/* oklch */ color: oklch(61.3% 0.186 305.8);
Tailwind
colors: {
  custom: {
    50: '#bf8fe7',
    500: '#a05fdb',
    950: '#000000',
  },
}
SCSS
$custom: #a05fdb;
$custom-light: #bf8fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#a05fdb",
  "rgb": {
    "r": 160,
    "g": 95,
    "b": 219
  },
  "hsl": {
    "h": 271.452,
    "s": 63.265,
    "l": 61.569
  },
  "oklch": {
    "l": 0.61319,
    "c": 0.18647,
    "h": 305.8
  },
  "luminance": 0.20772
}

Semantic roles & 50–950 ramp

primary
#A05FDB
secondary
#CAE2B4
accent
#CB1A6E
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130D16
muted
#827D84

Preview Lab

Preview with #A05FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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