#A45FCB#A45FCB

#A45FCB is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.8% C 0.170 H 311.9°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#A45FCB
RGBrgb(164, 95, 203)
HSLhsl(278, 51%, 58%)
HSVhsv(278, 53%, 80%)
CMYKcmyk(19.2%, 53.2%, 0%, 20.4%)
CIE-LABlab(52.27, 46.82, -45.18)
CIE-LCHlch(52.27, 65.07, 316.02°)
OKLaboklab(60.82% 0.1133 -0.1264)
OKLCHoklch(60.82% 0.17 311.9)
XYZxyz(30.1796, 20.3894, 58.8341)
Luminance0.2039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45FCB #86CB5F
analogous
#6E5FCB #A45FCB #CB5FBC
triadic
#A45FCB #CBA45F #5FCBA4
tetradic
#A45FCB #CB6E5F #86CB5F #5FBCCB
square
#A45FCB #CB6E5F #86CB5F #5FBCCB
split-complementary
#A45FCB #BCCB5F #5FCB6E
monochromatic
#642B85 #873AB3 #A45FCB #BE8DDA #D9BBE9

Accessibility & contrast

On white

4.14
#A45FCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#A45FCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45FCB
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45FCB#FFFFFF#000000##000000
##A45FCB1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4279CF
Deuteranopia (green-blind)
#587EC8
Tritanopia (blue-blind)
#A0718C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a45fcb;
/* rgb */ color: rgb(164, 95, 203);
/* oklch */ color: oklch(60.8% 0.170 311.9);
Tailwind
colors: {
  custom: {
    50: '#c18fdb',
    500: '#a45fcb',
    950: '#000000',
  },
}
SCSS
$custom: #a45fcb;
$custom-light: #c18fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#a45fcb",
  "rgb": {
    "r": 164,
    "g": 95,
    "b": 203
  },
  "hsl": {
    "h": 278.333,
    "s": 50.943,
    "l": 58.431
  },
  "oklch": {
    "l": 0.60821,
    "c": 0.16975,
    "h": 311.9
  },
  "luminance": 0.20389
}

Semantic roles & 50–950 ramp

primary
#A45FCB
secondary
#BDD8AD
accent
#DA4D80
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130D15
muted
#827D83

Preview Lab

Preview with #A45FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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