#A751FF#A751FF

#A751FF is a light, highly saturated violet. Relative luminance 0.213; OKLCH L 62.7% C 0.245 H 302.4°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#A751FF
RGBrgb(167, 81, 255)
HSLhsl(270, 100%, 66%)
HSVhsv(270, 68%, 100%)
CMYKcmyk(34.5%, 68.2%, 0%, 0%)
CIE-LABlab(53.30, 66.13, -72.80)
CIE-LCHlch(53.30, 98.36, 312.25°)
OKLaboklab(62.66% 0.1315 -0.2072)
OKLCHoklch(62.66% 0.245 302.4)
XYZxyz(36.9245, 21.3203, 96.7583)
Luminance0.2132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A751FF #A9FF51
analogous
#5152FF #A751FF #FE51FF
triadic
#A751FF #FFA751 #51FFA7
tetradic
#A751FF #FF5152 #A9FF51 #51FFFE
square
#A751FF #FF5152 #A9FF51 #51FFFE
split-complementary
#A751FF #FFFE51 #52FF51
monochromatic
#6A00D6 #8814FF #A751FF #C68EFF #E5CBFF

Accessibility & contrast

On white

3.99
#A751FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#A751FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A751FF
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A751FF#FFFFFF#000000##000000
##A751FF1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#007FFB
Tritanopia (blue-blind)
#957AA2
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a751ff;
/* rgb */ color: rgb(167, 81, 255);
/* oklch */ color: oklch(62.7% 0.245 302.4);
Tailwind
colors: {
  custom: {
    50: '#c788ff',
    500: '#a751ff',
    950: '#000000',
  },
}
SCSS
$custom: #a751ff;
$custom-light: #c788ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a751ff",
  "rgb": {
    "r": 167,
    "g": 81,
    "b": 255
  },
  "hsl": {
    "h": 269.655,
    "s": 100,
    "l": 65.882
  },
  "oklch": {
    "l": 0.62663,
    "c": 0.24543,
    "h": 302.4
  },
  "luminance": 0.2132
}

Semantic roles & 50–950 ramp

primary
#A751FF
secondary
#D6F3B9
accent
#E60074
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C18
muted
#827D86

Preview Lab

Preview with #A751FF

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

Preview Lab → · Contrast checker → · Palette generator →

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