#A45FB2#A45FB2

#A45FB2 is a mid, vivid purple. Relative luminance 0.193; OKLCH L 59.5% C 0.143 H 320.7°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#A45FB2
RGBrgb(164, 95, 178)
HSLhsl(290, 35%, 54%)
HSVhsv(290, 47%, 70%)
CMYKcmyk(7.9%, 46.6%, 0%, 30.2%)
CIE-LABlab(51.03, 41.54, -32.73)
CIE-LCHlch(51.03, 52.88, 321.76°)
OKLaboklab(59.49% 0.1103 -0.0903)
OKLCHoklch(59.49% 0.143 320.7)
XYZxyz(27.4370, 19.2923, 44.3894)
Luminance0.1929 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45FB2 #6DB25F
analogous
#7A5FB2 #A45FB2 #B25F96
triadic
#A45FB2 #B2A45F #5FB2A4
tetradic
#A45FB2 #B27A5F #6DB25F #5F96B2
square
#A45FB2 #B27A5F #6DB25F #5F96B2
split-complementary
#A45FB2 #96B25F #5FB27A
monochromatic
#5D3166 #82458F #A45FB2 #BB88C6 #D3B2DA

Accessibility & contrast

On white

4.32
#A45FB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#A45FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45FB2
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45FB2#FFFFFF#000000##000000
##A45FB21.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5375B5
Deuteranopia (green-blind)
#667CB0
Tritanopia (blue-blind)
#A56A80
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a45fb2;
/* rgb */ color: rgb(164, 95, 178);
/* oklch */ color: oklch(59.5% 0.143 320.7);
Tailwind
colors: {
  custom: {
    50: '#c18ec9',
    500: '#a45fb2',
    950: '#000000',
  },
}
SCSS
$custom: #a45fb2;
$custom-light: #c18ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#a45fb2",
  "rgb": {
    "r": 164,
    "g": 95,
    "b": 178
  },
  "hsl": {
    "h": 289.88,
    "s": 35.021,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59491,
    "c": 0.14253,
    "h": 320.7
  },
  "luminance": 0.19291
}

Semantic roles & 50–950 ramp

primary
#A45FB2
secondary
#ABC8A5
accent
#CB5D6F
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#120C13
muted
#817D82

Preview Lab

Preview with #A45FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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