#A875F6#A875F6

#A875F6 is a light, vivid violet. Relative luminance 0.277; OKLCH L 67.1% C 0.187 H 299.6°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#A875F6
RGBrgb(168, 117, 246)
HSLhsl(264, 88%, 71%)
HSVhsv(264, 52%, 96%)
CMYKcmyk(31.7%, 52.4%, 0%, 3.5%)
CIE-LABlab(59.62, 46.05, -57.64)
CIE-LCHlch(59.62, 73.78, 308.62°)
OKLaboklab(67.11% 0.0924 -0.1627)
OKLCHoklch(67.11% 0.187 299.6)
XYZxyz(39.1403, 27.7009, 90.4557)
Luminance0.2770 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A875F6 #C3F675
analogous
#7582F6 #A875F6 #E875F6
triadic
#A875F6 #F6A875 #75F6A8
tetradic
#A875F6 #F67582 #C3F675 #75F6E8
square
#A875F6 #F67582 #C3F675 #75F6E8
split-complementary
#A875F6 #F6E875 #82F675
monochromatic
#620FE2 #843CF2 #A875F6 #CCAEFA #EDE2FD

Accessibility & contrast

On white

3.21
#A875F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#A875F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A875F6
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A875F6#FFFFFF#000000##000000
##A875F61.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#448FFA
Deuteranopia (green-blind)
#538FF3
Tritanopia (blue-blind)
#988EAB
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a875f6;
/* rgb */ color: rgb(168, 117, 246);
/* oklch */ color: oklch(67.1% 0.187 299.6);
Tailwind
colors: {
  custom: {
    50: '#c59efa',
    500: '#a875f6',
    950: '#000000',
  },
}
SCSS
$custom: #a875f6;
$custom-light: #c59efa;
$custom-dark: #000000;
JSON
{
  "hex": "#a875f6",
  "rgb": {
    "r": 168,
    "g": 117,
    "b": 246
  },
  "hsl": {
    "h": 263.721,
    "s": 87.755,
    "l": 71.176
  },
  "oklch": {
    "l": 0.67105,
    "c": 0.18717,
    "h": 299.6
  },
  "luminance": 0.27701
}

Semantic roles & 50–950 ramp

primary
#A875F6
secondary
#E7F4D2
accent
#E4018B
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A875F6

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

Preview Lab → · Contrast checker → · Palette generator →

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