#A875F9#A875F9

#A875F9 is a light, vivid violet. Relative luminance 0.279; OKLCH L 67.3% C 0.191 H 299.0°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#A875F9
RGBrgb(168, 117, 249)
HSLhsl(263, 92%, 72%)
HSVhsv(263, 53%, 98%)
CMYKcmyk(32.5%, 53%, 0%, 2.4%)
CIE-LABlab(59.79, 46.79, -59.03)
CIE-LCHlch(59.79, 75.32, 308.40°)
OKLaboklab(67.28% 0.0926 -0.1668)
OKLCHoklch(67.28% 0.191 299)
XYZxyz(39.6045, 27.8866, 92.9003)
Luminance0.2789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A875F9 #C6F975
analogous
#7584F9 #A875F9 #EA75F9
triadic
#A875F9 #F9A875 #75F9A8
tetradic
#A875F9 #F97584 #C6F975 #75F9EA
square
#A875F9 #F97584 #C6F975 #75F9EA
split-complementary
#A875F9 #F9EA75 #84F975
monochromatic
#600AE9 #833AF6 #A875F9 #CDB0FC #EDE2FE

Accessibility & contrast

On white

3.19
#A875F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#A875F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A875F9
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A875F9#FFFFFF#000000##000000
##A875F91.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4190FD
Deuteranopia (green-blind)
#508FF6
Tritanopia (blue-blind)
#978FAC
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a875f9;
/* rgb */ color: rgb(168, 117, 249);
/* oklch */ color: oklch(67.3% 0.191 299.0);
Tailwind
colors: {
  custom: {
    50: '#c69efc',
    500: '#a875f9',
    950: '#000000',
  },
}
SCSS
$custom: #a875f9;
$custom-light: #c69efc;
$custom-dark: #000000;
JSON
{
  "hex": "#a875f9",
  "rgb": {
    "r": 168,
    "g": 117,
    "b": 249
  },
  "hsl": {
    "h": 263.182,
    "s": 91.667,
    "l": 71.765
  },
  "oklch": {
    "l": 0.67284,
    "c": 0.19079,
    "h": 299
  },
  "luminance": 0.27887
}

Semantic roles & 50–950 ramp

primary
#A875F9
secondary
#E9F6D4
accent
#E6008D
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A875F9

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

Preview Lab → · Contrast checker → · Palette generator →

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