#A875F2#A875F2

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

Color values

HEX#A875F2
RGBrgb(168, 117, 242)
HSLhsl(264, 83%, 70%)
HSVhsv(264, 52%, 95%)
CMYKcmyk(30.6%, 51.7%, 0%, 5.1%)
CIE-LABlab(59.40, 45.07, -55.78)
CIE-LCHlch(59.40, 71.71, 308.94°)
OKLaboklab(66.87% 0.0922 -0.1573)
OKLCHoklch(66.87% 0.182 300.4)
XYZxyz(38.5330, 27.4580, 87.2570)
Luminance0.2746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A875F2 #BFF275
analogous
#7580F2 #A875F2 #E675F2
triadic
#A875F2 #F2A875 #75F2A8
tetradic
#A875F2 #F27580 #BFF275 #75F2E6
square
#A875F2 #F27580 #BFF275 #75F2E6
split-complementary
#A875F2 #F2E675 #80F275
monochromatic
#6414D8 #853DED #A875F2 #CBADF7 #EDE3FC

Accessibility & contrast

On white

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

On black

6.49
#A875F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A875F2
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A875F2#FFFFFF#000000##000000
##A875F21.003.236.496.49
#FFFFFF3.231.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#488FF6
Deuteranopia (green-blind)
#578EEF
Tritanopia (blue-blind)
#998DA9
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a875f2;
/* rgb */ color: rgb(168, 117, 242);
/* oklch */ color: oklch(66.9% 0.182 300.4);
Tailwind
colors: {
  custom: {
    50: '#c59ef7',
    500: '#a875f2',
    950: '#000000',
  },
}
SCSS
$custom: #a875f2;
$custom-light: #c59ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#a875f2",
  "rgb": {
    "r": 168,
    "g": 117,
    "b": 242
  },
  "hsl": {
    "h": 264.48,
    "s": 82.781,
    "l": 70.392
  },
  "oklch": {
    "l": 0.66869,
    "c": 0.18233,
    "h": 300.4
  },
  "luminance": 0.27458
}

Semantic roles & 50–950 ramp

primary
#A875F2
secondary
#E5F3D0
accent
#DF0687
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A875F2

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

Preview Lab → · Contrast checker → · Palette generator →

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