#A045C1#A045C1

#A045C1 is a mid, vivid purple. Relative luminance 0.156; OKLCH L 56.3% C 0.197 H 315.9°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#A045C1
RGBrgb(160, 69, 193)
HSLhsl(284, 50%, 51%)
HSVhsv(284, 64%, 76%)
CMYKcmyk(17.1%, 64.2%, 0%, 24.3%)
CIE-LABlab(46.42, 56.56, -48.78)
CIE-LCHlch(46.42, 74.69, 319.23°)
OKLaboklab(56.26% 0.141 -0.1368)
OKLCHoklch(56.26% 0.197 315.9)
XYZxyz(26.2495, 15.5810, 52.0665)
Luminance0.1558 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A045C1 #66C145
analogous
#6245C1 #A045C1 #C145A4
triadic
#A045C1 #C1A045 #45C1A0
tetradic
#A045C1 #C16245 #66C145 #45A4C1
square
#A045C1 #C16245 #66C145 #45A4C1
split-complementary
#A045C1 #A4C145 #45C162
monochromatic
#562369 #7C3297 #A045C1 #B773D0 #CFA1E0

Accessibility & contrast

On white

5.10
#A045C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#A045C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A045C1
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A045C1#FFFFFF#000000##FFFFFF
##A045C11.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1469C5
Deuteranopia (green-blind)
#4571BE
Tritanopia (blue-blind)
#9E5C7D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a045c1;
/* rgb */ color: rgb(160, 69, 193);
/* oklch */ color: oklch(56.3% 0.197 315.9);
Tailwind
colors: {
  custom: {
    50: '#bf7fd4',
    500: '#a045c1',
    950: '#000000',
  },
}
SCSS
$custom: #a045c1;
$custom-light: #bf7fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#a045c1",
  "rgb": {
    "r": 160,
    "g": 69,
    "b": 193
  },
  "hsl": {
    "h": 284.032,
    "s": 50,
    "l": 51.373
  },
  "oklch": {
    "l": 0.56257,
    "c": 0.19651,
    "h": 315.9
  },
  "luminance": 0.1558
}

Semantic roles & 50–950 ramp

primary
#A045C1
secondary
#A4CC96
accent
#DA4E73
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A045C1

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

Preview Lab → · Contrast checker → · Palette generator →

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