#A875EF#A875EF

#A875EF is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.7% C 0.179 H 301.0°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#A875EF
RGBrgb(168, 117, 239)
HSLhsl(265, 79%, 70%)
HSVhsv(265, 51%, 94%)
CMYKcmyk(29.7%, 51%, 0%, 6.3%)
CIE-LABlab(59.23, 44.34, -54.37)
CIE-LCHlch(59.23, 70.16, 309.20°)
OKLaboklab(66.7% 0.092 -0.1532)
OKLCHoklch(66.7% 0.179 301)
XYZxyz(38.0861, 27.2793, 84.9035)
Luminance0.2728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A875EF #BCEF75
analogous
#757FEF #A875EF #E575EF
triadic
#A875EF #EFA875 #75EFA8
tetradic
#A875EF #EF757F #BCEF75 #75EFE5
square
#A875EF #EF757F #BCEF75 #75EFE5
split-complementary
#A875EF #EFE575 #7FEF75
monochromatic
#6618D1 #853EE9 #A875EF #CBACF5 #EDE3FC

Accessibility & contrast

On white

3.25
#A875EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#A875EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A875EF
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A875EF#FFFFFF#000000##000000
##A875EF1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8EF3
Deuteranopia (green-blind)
#598EEC
Tritanopia (blue-blind)
#9A8CA7
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a875ef;
/* rgb */ color: rgb(168, 117, 239);
/* oklch */ color: oklch(66.7% 0.179 301.0);
Tailwind
colors: {
  custom: {
    50: '#c59ef5',
    500: '#a875ef',
    950: '#000000',
  },
}
SCSS
$custom: #a875ef;
$custom-light: #c59ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#a875ef",
  "rgb": {
    "r": 168,
    "g": 117,
    "b": 239
  },
  "hsl": {
    "h": 265.082,
    "s": 79.221,
    "l": 69.804
  },
  "oklch": {
    "l": 0.66695,
    "c": 0.1787,
    "h": 301
  },
  "luminance": 0.27279
}

Semantic roles & 50–950 ramp

primary
#A875EF
secondary
#E3F1CF
accent
#DC0A84
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #A875EF

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

Preview Lab → · Contrast checker → · Palette generator →

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