#A751F6#A751F6

#A751F6 is a light, highly saturated violet. Relative luminance 0.208; OKLCH L 62.0% C 0.236 H 304.2°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#A751F6
RGBrgb(167, 81, 246)
HSLhsl(271, 90%, 64%)
HSVhsv(271, 67%, 96%)
CMYKcmyk(32.1%, 67.1%, 0%, 3.5%)
CIE-LABlab(52.68, 64.08, -68.80)
CIE-LCHlch(52.68, 94.02, 312.97°)
OKLaboklab(62.03% 0.1327 -0.1955)
OKLCHoklch(62.03% 0.236 304.2)
XYZxyz(35.5096, 20.7543, 89.3062)
Luminance0.2075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A751F6 #A0F651
analogous
#5551F6 #A751F6 #F651F2
triadic
#A751F6 #F6A751 #51F6A7
tetradic
#A751F6 #F65551 #A0F651 #51F2F6
square
#A751F6 #F65551 #A0F651 #51F2F6
split-complementary
#A751F6 #F2F651 #51F655
monochromatic
#6A0AC3 #8A17F3 #A751F6 #C48BF9 #E2C5FC

Accessibility & contrast

On white

4.08
#A751F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#A751F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A751F6
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A751F6#FFFFFF#000000##000000
##A751F61.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFB
Deuteranopia (green-blind)
#097EF2
Tritanopia (blue-blind)
#98769D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a751f6;
/* rgb */ color: rgb(167, 81, 246);
/* oklch */ color: oklch(62.0% 0.236 304.2);
Tailwind
colors: {
  custom: {
    50: '#c788fa',
    500: '#a751f6',
    950: '#000000',
  },
}
SCSS
$custom: #a751f6;
$custom-light: #c788fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a751f6",
  "rgb": {
    "r": 167,
    "g": 81,
    "b": 246
  },
  "hsl": {
    "h": 271.273,
    "s": 90.164,
    "l": 64.118
  },
  "oklch": {
    "l": 0.62026,
    "c": 0.23624,
    "h": 304.2
  },
  "luminance": 0.20754
}

Semantic roles & 50–950 ramp

primary
#A751F6
secondary
#D0EEB5
accent
#E6006E
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C17
muted
#827D85

Preview Lab

Preview with #A751F6

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

Preview Lab → · Contrast checker → · Palette generator →

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