#A45FDF#A45FDF

#A45FDF is a light, vivid violet. Relative luminance 0.214; OKLCH L 62.0% C 0.192 H 306.5°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#A45FDF
RGBrgb(164, 95, 223)
HSLhsl(272, 67%, 62%)
HSVhsv(272, 57%, 87%)
CMYKcmyk(26.5%, 57.4%, 0%, 12.5%)
CIE-LABlab(53.39, 51.33, -54.77)
CIE-LCHlch(53.39, 75.06, 313.14°)
OKLaboklab(62% 0.1142 -0.1544)
OKLCHoklch(62% 0.192 306.5)
XYZxyz(32.7185, 21.4050, 72.2057)
Luminance0.2140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45FDF #9ADF5F
analogous
#645FDF #A45FDF #DF5FDA
triadic
#A45FDF #DFA45F #5FDFA4
tetradic
#A45FDF #DF645F #9ADF5F #5FDADF
square
#A45FDF #DF645F #9ADF5F #5FDADF
split-complementary
#A45FDF #DADF5F #5FDF64
monochromatic
#6721A3 #872CD5 #A45FDF #C192E9 #DEC5F3

Accessibility & contrast

On white

3.98
#A45FDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#A45FDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45FDF
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45FDF#FFFFFF#000000##000000
##A45FDF1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D7DE3
Deuteranopia (green-blind)
#4980DC
Tritanopia (blue-blind)
#9A7896
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a45fdf;
/* rgb */ color: rgb(164, 95, 223);
/* oklch */ color: oklch(62.0% 0.192 306.5);
Tailwind
colors: {
  custom: {
    50: '#c28fea',
    500: '#a45fdf',
    950: '#000000',
  },
}
SCSS
$custom: #a45fdf;
$custom-light: #c28fea;
$custom-dark: #000000;
JSON
{
  "hex": "#a45fdf",
  "rgb": {
    "r": 164,
    "g": 95,
    "b": 223
  },
  "hsl": {
    "h": 272.344,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.62001,
    "c": 0.19205,
    "h": 306.5
  },
  "luminance": 0.21405
}

Semantic roles & 50–950 ramp

primary
#A45FDF
secondary
#CBE4B6
accent
#CF176C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130D16
muted
#827D84

Preview Lab

Preview with #A45FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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