#A05BDF#A05BDF

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

Color values

HEX#A05BDF
RGBrgb(160, 91, 223)
HSLhsl(271, 67%, 62%)
HSVhsv(271, 59%, 87%)
CMYKcmyk(28.3%, 59.2%, 0%, 12.5%)
CIE-LABlab(52.16, 52.44, -56.77)
CIE-LCHlch(52.16, 77.28, 312.73°)
OKLaboklab(61% 0.1141 -0.1604)
OKLCHoklch(61% 0.197 305.4)
XYZxyz(31.5547, 20.2837, 72.0505)
Luminance0.2028 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A05BDF #9ADF5B
analogous
#5E5BDF #A05BDF #DF5BDC
triadic
#A05BDF #DFA05B #5BDFA0
tetradic
#A05BDF #DF5E5B #9ADF5B #5BDCDF
square
#A05BDF #DF5E5B #9ADF5B #5BDCDF
split-complementary
#A05BDF #DCDF5B #5BDF5E
monochromatic
#631FA0 #8229D4 #A05BDF #BE8EE9 #DBC1F3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A05BDF#FFFFFF#000000##000000
##A05BDF1.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)
#1D7AE3
Deuteranopia (green-blind)
#407DDC
Tritanopia (blue-blind)
#957594
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a05bdf;
/* rgb */ color: rgb(160, 91, 223);
/* oklch */ color: oklch(61.0% 0.197 305.4);
Tailwind
colors: {
  custom: {
    50: '#c08cea',
    500: '#a05bdf',
    950: '#000000',
  },
}
SCSS
$custom: #a05bdf;
$custom-light: #c08cea;
$custom-dark: #000000;
JSON
{
  "hex": "#a05bdf",
  "rgb": {
    "r": 160,
    "g": 91,
    "b": 223
  },
  "hsl": {
    "h": 271.364,
    "s": 67.347,
    "l": 61.569
  },
  "oklch": {
    "l": 0.60998,
    "c": 0.19681,
    "h": 305.4
  },
  "luminance": 0.20283
}

Semantic roles & 50–950 ramp

primary
#A05BDF
secondary
#CAE3B2
accent
#CF166F
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A05BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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