#A45FDE#A45FDE

#A45FDE is a mid, vivid violet. Relative luminance 0.214; OKLCH L 61.9% C 0.191 H 306.7°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#A45FDE
RGBrgb(164, 95, 222)
HSLhsl(273, 66%, 62%)
HSVhsv(273, 57%, 87%)
CMYKcmyk(26.1%, 57.2%, 0%, 12.9%)
CIE-LABlab(53.33, 51.10, -54.30)
CIE-LCHlch(53.33, 74.56, 313.26°)
OKLaboklab(61.94% 0.1142 -0.153)
OKLCHoklch(61.94% 0.191 306.7)
XYZxyz(32.5841, 21.3512, 71.4977)
Luminance0.2135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45FDE #99DE5F
analogous
#645FDE #A45FDE #DE5FD9
triadic
#A45FDE #DEA45F #5FDEA4
tetradic
#A45FDE #DE645F #99DE5F #5FD9DE
square
#A45FDE #DE645F #99DE5F #5FD9DE
split-complementary
#A45FDE #D9DE5F #5FDE64
monochromatic
#6721A1 #872CD4 #A45FDE #C192E8 #DEC4F3

Accessibility & contrast

On white

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

On black

5.27
#A45FDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45FDE
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45FDE#FFFFFF#000000##000000
##A45FDE1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E7DE2
Deuteranopia (green-blind)
#4A80DB
Tritanopia (blue-blind)
#9B7796
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a45fde;
/* rgb */ color: rgb(164, 95, 222);
/* oklch */ color: oklch(61.9% 0.191 306.7);
Tailwind
colors: {
  custom: {
    50: '#c28fe9',
    500: '#a45fde',
    950: '#000000',
  },
}
SCSS
$custom: #a45fde;
$custom-light: #c28fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#a45fde",
  "rgb": {
    "r": 164,
    "g": 95,
    "b": 222
  },
  "hsl": {
    "h": 272.598,
    "s": 65.803,
    "l": 62.157
  },
  "oklch": {
    "l": 0.61939,
    "c": 0.19094,
    "h": 306.7
  },
  "luminance": 0.21351
}

Semantic roles & 50–950 ramp

primary
#A45FDE
secondary
#CAE4B5
accent
#CE186B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130D16
muted
#827D84

Preview Lab

Preview with #A45FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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