#A751CA#A751CA

#A751CA is a mid, vivid purple. Relative luminance 0.184; OKLCH L 59.2% C 0.191 H 315.0°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#A751CA
RGBrgb(167, 81, 202)
HSLhsl(283, 53%, 55%)
HSVhsv(283, 60%, 79%)
CMYKcmyk(17.3%, 59.9%, 0%, 20.8%)
CIE-LABlab(49.94, 54.47, -48.31)
CIE-LCHlch(49.94, 72.80, 318.43°)
OKLaboklab(59.17% 0.1351 -0.1353)
OKLCHoklch(59.17% 0.191 315)
XYZxyz(29.5377, 18.3656, 57.8546)
Luminance0.1837 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A751CA #74CA51
analogous
#6B51CA #A751CA #CA51B0
triadic
#A751CA #CAA751 #51CAA7
tetradic
#A751CA #CA6B51 #74CA51 #51B0CA
square
#A751CA #CA6B51 #74CA51 #51B0CA
split-complementary
#A751CA #B0CA51 #51CA6B
monochromatic
#62257B #8834AA #A751CA #BF80D8 #D6AFE7

Accessibility & contrast

On white

4.49
#A751CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#A751CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A751CA
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A751CA#FFFFFF#000000##000000
##A751CA1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B72CE
Deuteranopia (green-blind)
#4F79C7
Tritanopia (blue-blind)
#A46686
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a751ca;
/* rgb */ color: rgb(167, 81, 202);
/* oklch */ color: oklch(59.2% 0.191 315.0);
Tailwind
colors: {
  custom: {
    50: '#c486db',
    500: '#a751ca',
    950: '#000000',
  },
}
SCSS
$custom: #a751ca;
$custom-light: #c486db;
$custom-dark: #000000;
JSON
{
  "hex": "#a751ca",
  "rgb": {
    "r": 167,
    "g": 81,
    "b": 202
  },
  "hsl": {
    "h": 282.645,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.59171,
    "c": 0.19125,
    "h": 315
  },
  "luminance": 0.18365
}

Semantic roles & 50–950 ramp

primary
#A751CA
secondary
#B1D5A2
accent
#DD4B75
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A751CA

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

Preview Lab → · Contrast checker → · Palette generator →

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