#A875F0#A875F0

#A875F0 is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.8% C 0.180 H 300.8°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#A875F0
RGBrgb(168, 117, 240)
HSLhsl(265, 80%, 70%)
HSVhsv(265, 51%, 94%)
CMYKcmyk(30%, 51.3%, 0%, 5.9%)
CIE-LABlab(59.29, 44.59, -54.84)
CIE-LCHlch(59.29, 70.68, 309.11°)
OKLaboklab(66.75% 0.0921 -0.1546)
OKLCHoklch(66.75% 0.18 300.8)
XYZxyz(38.2343, 27.3385, 85.6837)
Luminance0.2734 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A875F0 #BDF075
analogous
#7580F0 #A875F0 #E575F0
triadic
#A875F0 #F0A875 #75F0A8
tetradic
#A875F0 #F07580 #BDF075 #75F0E5
square
#A875F0 #F07580 #BDF075 #75F0E5
split-complementary
#A875F0 #F0E575 #80F075
monochromatic
#6517D4 #853EEA #A875F0 #CBACF6 #EEE3FC

Accessibility & contrast

On white

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

On black

6.47
#A875F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A875F0
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A875F0#FFFFFF#000000##000000
##A875F01.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8EF4
Deuteranopia (green-blind)
#588EED
Tritanopia (blue-blind)
#9A8CA8
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a875f0;
/* rgb */ color: rgb(168, 117, 240);
/* oklch */ color: oklch(66.8% 0.180 300.8);
Tailwind
colors: {
  custom: {
    50: '#c59ef5',
    500: '#a875f0',
    950: '#000000',
  },
}
SCSS
$custom: #a875f0;
$custom-light: #c59ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#a875f0",
  "rgb": {
    "r": 168,
    "g": 117,
    "b": 240
  },
  "hsl": {
    "h": 264.878,
    "s": 80.392,
    "l": 70
  },
  "oklch": {
    "l": 0.66753,
    "c": 0.17991,
    "h": 300.8
  },
  "luminance": 0.27339
}

Semantic roles & 50–950 ramp

primary
#A875F0
secondary
#E3F2CF
accent
#DD0985
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #A875F0

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

Preview Lab → · Contrast checker → · Palette generator →

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