#A875FB#A875FB

#A875FB is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.4% C 0.193 H 298.7°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#A875FB
RGBrgb(168, 117, 251)
HSLhsl(263, 94%, 72%)
HSVhsv(263, 53%, 98%)
CMYKcmyk(33.1%, 53.4%, 0%, 1.6%)
CIE-LABlab(59.90, 47.29, -59.95)
CIE-LCHlch(59.90, 76.35, 308.27°)
OKLaboklab(67.41% 0.0927 -0.1695)
OKLCHoklch(67.41% 0.193 298.7)
XYZxyz(39.9181, 28.0120, 94.5519)
Luminance0.2801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A875FB #C8FB75
analogous
#7585FB #A875FB #EB75FB
triadic
#A875FB #FBA875 #75FBA8
tetradic
#A875FB #FB7585 #C8FB75 #75FBEB
square
#A875FB #FB7585 #C8FB75 #75FBEB
split-complementary
#A875FB #FBEB75 #85FB75
monochromatic
#5F07EF #833AF9 #A875FB #CDB0FD #ECE1FE

Accessibility & contrast

On white

3.18
#A875FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#A875FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A875FB
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A875FB#FFFFFF#000000##000000
##A875FB1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F90FF
Deuteranopia (green-blind)
#4E8FF8
Tritanopia (blue-blind)
#9690AD
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a875fb;
/* rgb */ color: rgb(168, 117, 251);
/* oklch */ color: oklch(67.4% 0.193 298.7);
Tailwind
colors: {
  custom: {
    50: '#c69efd',
    500: '#a875fb',
    950: '#000000',
  },
}
SCSS
$custom: #a875fb;
$custom-light: #c69efd;
$custom-dark: #000000;
JSON
{
  "hex": "#a875fb",
  "rgb": {
    "r": 168,
    "g": 117,
    "b": 251
  },
  "hsl": {
    "h": 262.836,
    "s": 94.366,
    "l": 72.157
  },
  "oklch": {
    "l": 0.67405,
    "c": 0.1932,
    "h": 298.7
  },
  "luminance": 0.28012
}

Semantic roles & 50–950 ramp

primary
#A875FB
secondary
#EAF6D5
accent
#E6008E
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A875FB

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

Preview Lab → · Contrast checker → · Palette generator →

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