#A875EB#A875EB

#A875EB is a light, vivid violet. Relative luminance 0.270; OKLCH L 66.5% C 0.174 H 301.8°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#A875EB
RGBrgb(168, 117, 235)
HSLhsl(266, 75%, 69%)
HSVhsv(266, 50%, 92%)
CMYKcmyk(28.5%, 50.2%, 0%, 7.8%)
CIE-LABlab(59.02, 43.38, -52.49)
CIE-LCHlch(59.02, 68.10, 309.57°)
OKLaboklab(66.47% 0.0917 -0.1477)
OKLCHoklch(66.47% 0.174 301.8)
XYZxyz(37.5017, 27.0455, 81.8258)
Luminance0.2705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A875EB #B8EB75
analogous
#757DEB #A875EB #E375EB
triadic
#A875EB #EBA875 #75EBA8
tetradic
#A875EB #EB757D #B8EB75 #75EBE3
square
#A875EB #EB757D #B8EB75 #75EBE3
split-complementary
#A875EB #EBE375 #7DEB75
monochromatic
#671DC9 #8640E3 #A875EB #CAAAF3 #EBE0FA

Accessibility & contrast

On white

3.28
#A875EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#A875EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A875EB
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A875EB#FFFFFF#000000##000000
##A875EB1.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8DEF
Deuteranopia (green-blind)
#5C8EE8
Tritanopia (blue-blind)
#9B8BA5
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a875eb;
/* rgb */ color: rgb(168, 117, 235);
/* oklch */ color: oklch(66.5% 0.174 301.8);
Tailwind
colors: {
  custom: {
    50: '#c59ef2',
    500: '#a875eb',
    950: '#000000',
  },
}
SCSS
$custom: #a875eb;
$custom-light: #c59ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#a875eb",
  "rgb": {
    "r": 168,
    "g": 117,
    "b": 235
  },
  "hsl": {
    "h": 265.932,
    "s": 74.684,
    "l": 69.02
  },
  "oklch": {
    "l": 0.66465,
    "c": 0.17384,
    "h": 301.8
  },
  "luminance": 0.27046
}

Semantic roles & 50–950 ramp

primary
#A875EB
secondary
#E0EFCD
accent
#D70F80
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A875EB

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

Preview Lab → · Contrast checker → · Palette generator →

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