#A751CB#A751CB

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

Color values

HEX#A751CB
RGBrgb(167, 81, 203)
HSLhsl(282, 54%, 56%)
HSVhsv(282, 60%, 80%)
CMYKcmyk(17.7%, 60.1%, 0%, 20.4%)
CIE-LABlab(49.99, 54.67, -48.79)
CIE-LCHlch(49.99, 73.28, 318.25°)
OKLaboklab(59.23% 0.1351 -0.1368)
OKLCHoklch(59.23% 0.192 314.7)
XYZxyz(29.6565, 18.4131, 58.4802)
Luminance0.1841 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A751CB #75CB51
analogous
#6A51CB #A751CB #CB51B2
triadic
#A751CB #CBA751 #51CBA7
tetradic
#A751CB #CB6A51 #75CB51 #51B2CB
square
#A751CB #CB6A51 #75CB51 #51B2CB
split-complementary
#A751CB #B2CB51 #51CB6A
monochromatic
#63257C #8833AC #A751CB #BF80D9 #D7AFE7

Accessibility & contrast

On white

4.48
#A751CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#A751CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A751CB
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A751CB#FFFFFF#000000##000000
##A751CB1.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A72CF
Deuteranopia (green-blind)
#4E79C8
Tritanopia (blue-blind)
#A46786
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a751cb;
/* rgb */ color: rgb(167, 81, 203);
/* oklch */ color: oklch(59.2% 0.192 314.7);
Tailwind
colors: {
  custom: {
    50: '#c486db',
    500: '#a751cb',
    950: '#000000',
  },
}
SCSS
$custom: #a751cb;
$custom-light: #c486db;
$custom-dark: #000000;
JSON
{
  "hex": "#a751cb",
  "rgb": {
    "r": 167,
    "g": 81,
    "b": 203
  },
  "hsl": {
    "h": 282.295,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.59231,
    "c": 0.19226,
    "h": 314.7
  },
  "luminance": 0.18412
}

Semantic roles & 50–950 ramp

primary
#A751CB
secondary
#B2D5A3
accent
#DD4A76
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A751CB

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

Preview Lab → · Contrast checker → · Palette generator →

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