#A875DF#A875DF

#A875DF is a light, vivid violet. Relative luminance 0.264; OKLCH L 65.8% C 0.159 H 304.6°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#A875DF
RGBrgb(168, 117, 223)
HSLhsl(269, 62%, 67%)
HSVhsv(269, 48%, 87%)
CMYKcmyk(24.7%, 47.5%, 0%, 12.5%)
CIE-LABlab(58.39, 40.53, -46.79)
CIE-LCHlch(58.39, 61.90, 310.90°)
OKLaboklab(65.8% 0.0904 -0.131)
OKLCHoklch(65.8% 0.159 304.6)
XYZxyz(35.8262, 26.3753, 73.0013)
Luminance0.2637 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A875DF #ACDF75
analogous
#7577DF #A875DF #DD75DF
triadic
#A875DF #DFA875 #75DFA8
tetradic
#A875DF #DF7577 #ACDF75 #75DFDD
square
#A875DF #DF7577 #ACDF75 #75DFDD
split-complementary
#A875DF #DFDD75 #77DF75
monochromatic
#6A29B1 #8943D3 #A875DF #C7A7EB #E7D8F6

Accessibility & contrast

On white

3.35
#A875DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#A875DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A875DF
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A875DF#FFFFFF#000000##000000
##A875DF1.003.356.286.28
#FFFFFF3.351.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#578BE3
Deuteranopia (green-blind)
#648CDC
Tritanopia (blue-blind)
#9F879F
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a875df;
/* rgb */ color: rgb(168, 117, 223);
/* oklch */ color: oklch(65.8% 0.159 304.6);
Tailwind
colors: {
  custom: {
    50: '#c49ee9',
    500: '#a875df',
    950: '#000000',
  },
}
SCSS
$custom: #a875df;
$custom-light: #c49ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#a875df",
  "rgb": {
    "r": 168,
    "g": 117,
    "b": 223
  },
  "hsl": {
    "h": 268.868,
    "s": 62.353,
    "l": 66.667
  },
  "oklch": {
    "l": 0.65796,
    "c": 0.15922,
    "h": 304.6
  },
  "luminance": 0.26375
}

Semantic roles & 50–950 ramp

primary
#A875DF
secondary
#D9E9C7
accent
#CA1B76
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #A875DF

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

Preview Lab → · Contrast checker → · Palette generator →

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