#A875F3#A875F3

#A875F3 is a light, vivid violet. Relative luminance 0.275; OKLCH L 66.9% C 0.184 H 300.2°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#A875F3
RGBrgb(168, 117, 243)
HSLhsl(264, 84%, 71%)
HSVhsv(264, 52%, 95%)
CMYKcmyk(30.9%, 51.9%, 0%, 4.7%)
CIE-LABlab(59.45, 45.32, -56.24)
CIE-LCHlch(59.45, 72.23, 308.86°)
OKLaboklab(66.93% 0.0923 -0.1587)
OKLCHoklch(66.93% 0.184 300.2)
XYZxyz(38.6836, 27.5182, 88.0502)
Luminance0.2752 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A875F3 #C0F375
analogous
#7581F3 #A875F3 #E775F3
triadic
#A875F3 #F3A875 #75F3A8
tetradic
#A875F3 #F37581 #C0F375 #75F3E7
square
#A875F3 #F37581 #C0F375 #75F3E7
split-complementary
#A875F3 #F3E775 #81F375
monochromatic
#6413DB #853DEE #A875F3 #CBADF8 #EDE3FD

Accessibility & contrast

On white

3.23
#A875F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#A875F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A875F3
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A875F3#FFFFFF#000000##000000
##A875F31.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#478FF7
Deuteranopia (green-blind)
#568EF0
Tritanopia (blue-blind)
#998DA9
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a875f3;
/* rgb */ color: rgb(168, 117, 243);
/* oklch */ color: oklch(66.9% 0.184 300.2);
Tailwind
colors: {
  custom: {
    50: '#c59ef8',
    500: '#a875f3',
    950: '#000000',
  },
}
SCSS
$custom: #a875f3;
$custom-light: #c59ef8;
$custom-dark: #000000;
JSON
{
  "hex": "#a875f3",
  "rgb": {
    "r": 168,
    "g": 117,
    "b": 243
  },
  "hsl": {
    "h": 264.286,
    "s": 84,
    "l": 70.588
  },
  "oklch": {
    "l": 0.66928,
    "c": 0.18354,
    "h": 300.2
  },
  "luminance": 0.27518
}

Semantic roles & 50–950 ramp

primary
#A875F3
secondary
#E5F3D1
accent
#E00588
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A875F3

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

Preview Lab → · Contrast checker → · Palette generator →

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