#A45BDF#A45BDF

#A45BDF is a mid, vivid violet. Relative luminance 0.207; OKLCH L 61.4% C 0.198 H 307.0°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#A45BDF
RGBrgb(164, 91, 223)
HSLhsl(273, 67%, 62%)
HSVhsv(273, 59%, 87%)
CMYKcmyk(26.5%, 59.2%, 0%, 12.5%)
CIE-LABlab(52.62, 53.37, -56.00)
CIE-LCHlch(52.62, 77.36, 313.63°)
OKLaboklab(61.44% 0.1191 -0.158)
OKLCHoklch(61.44% 0.198 307)
XYZxyz(32.3674, 20.7028, 72.0886)
Luminance0.2070 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45BDF #96DF5B
analogous
#625BDF #A45BDF #DF5BD8
triadic
#A45BDF #DFA45B #5BDFA4
tetradic
#A45BDF #DF625B #96DF5B #5BD8DF
square
#A45BDF #DF625B #96DF5B #5BD8DF
split-complementary
#A45BDF #D8DF5B #5BDF62
monochromatic
#671FA0 #8729D4 #A45BDF #C08EE9 #DDC1F3

Accessibility & contrast

On white

4.09
#A45BDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#A45BDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45BDF
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45BDF#FFFFFF#000000##000000
##A45BDF1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#217BE3
Deuteranopia (green-blind)
#447EDC
Tritanopia (blue-blind)
#9B7595
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a45bdf;
/* rgb */ color: rgb(164, 91, 223);
/* oklch */ color: oklch(61.4% 0.198 307.0);
Tailwind
colors: {
  custom: {
    50: '#c38dea',
    500: '#a45bdf',
    950: '#000000',
  },
}
SCSS
$custom: #a45bdf;
$custom-light: #c38dea;
$custom-dark: #000000;
JSON
{
  "hex": "#a45bdf",
  "rgb": {
    "r": 164,
    "g": 91,
    "b": 223
  },
  "hsl": {
    "h": 273.182,
    "s": 67.347,
    "l": 61.569
  },
  "oklch": {
    "l": 0.6144,
    "c": 0.19787,
    "h": 307
  },
  "luminance": 0.20702
}

Semantic roles & 50–950 ramp

primary
#A45BDF
secondary
#C8E3B2
accent
#CF1669
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A45BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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