#A45FDB#A45FDB

#A45FDB is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.8% C 0.188 H 307.5°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#A45FDB
RGBrgb(164, 95, 219)
HSLhsl(273, 63%, 62%)
HSVhsv(273, 57%, 86%)
CMYKcmyk(25.1%, 56.6%, 0%, 14.1%)
CIE-LABlab(53.16, 50.41, -52.88)
CIE-LCHlch(53.16, 73.06, 313.63°)
OKLaboklab(61.76% 0.1141 -0.1489)
OKLCHoklch(61.76% 0.188 307.5)
XYZxyz(32.1856, 21.1918, 69.3990)
Luminance0.2119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45FDB #96DB5F
analogous
#665FDB #A45FDB #DB5FD4
triadic
#A45FDB #DBA45F #5FDBA4
tetradic
#A45FDB #DB665F #96DB5F #5FD4DB
square
#A45FDB #DB665F #96DB5F #5FD4DB
split-complementary
#A45FDB #D4DB5F #5FDB66
monochromatic
#67239C #872ECE #A45FDB #C091E6 #DDC3F1

Accessibility & contrast

On white

4.01
#A45FDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#A45FDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45FDB
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45FDB#FFFFFF#000000##000000
##A45FDB1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#327CDF
Deuteranopia (green-blind)
#4D80D8
Tritanopia (blue-blind)
#9C7694
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a45fdb;
/* rgb */ color: rgb(164, 95, 219);
/* oklch */ color: oklch(61.8% 0.188 307.5);
Tailwind
colors: {
  custom: {
    50: '#c28fe7',
    500: '#a45fdb',
    950: '#000000',
  },
}
SCSS
$custom: #a45fdb;
$custom-light: #c28fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#a45fdb",
  "rgb": {
    "r": 164,
    "g": 95,
    "b": 219
  },
  "hsl": {
    "h": 273.387,
    "s": 63.265,
    "l": 61.569
  },
  "oklch": {
    "l": 0.61757,
    "c": 0.18758,
    "h": 307.5
  },
  "luminance": 0.21191
}

Semantic roles & 50–950 ramp

primary
#A45FDB
secondary
#C8E2B4
accent
#CB1A69
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130D16
muted
#827D84

Preview Lab

Preview with #A45FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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