#875FC4#875FC4

#875FC4 is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.3% C 0.153 H 299.9°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#875FC4
RGBrgb(135, 95, 196)
HSLhsl(264, 46%, 57%)
HSVhsv(264, 52%, 77%)
CMYKcmyk(31.1%, 51.5%, 0%, 23.1%)
CIE-LABlab(48.66, 37.51, -47.11)
CIE-LCHlch(48.66, 60.22, 308.53°)
OKLaboklab(57.3% 0.0763 -0.1328)
OKLCHoklch(57.3% 0.153 299.9)
XYZxyz(24.0453, 17.3207, 54.2903)
Luminance0.1732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875FC4 #9CC45F
analogous
#5F6AC4 #875FC4 #B95FC4
triadic
#875FC4 #C4875F #5FC487
tetradic
#875FC4 #C45F6A #9CC45F #5FC4B9
square
#875FC4 #C45F6A #9CC45F #5FC4B9
split-complementary
#875FC4 #C4B95F #6AC45F
monochromatic
#4C2D7B #683EA8 #875FC4 #A98CD4 #CAB8E5

Accessibility & contrast

On white

4.70
#875FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#875FC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875FC4
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875FC4#FFFFFF#000000##FFFFFF
##875FC41.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B73C7
Deuteranopia (green-blind)
#4673C2
Tritanopia (blue-blind)
#7B7288
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #875fc4;
/* rgb */ color: rgb(135, 95, 196);
/* oklch */ color: oklch(57.3% 0.153 299.9);
Tailwind
colors: {
  custom: {
    50: '#ad8dd6',
    500: '#875fc4',
    950: '#000000',
  },
}
SCSS
$custom: #875fc4;
$custom-light: #ad8dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#875fc4",
  "rgb": {
    "r": 135,
    "g": 95,
    "b": 196
  },
  "hsl": {
    "h": 263.762,
    "s": 46.119,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57296,
    "c": 0.15315,
    "h": 299.9
  },
  "luminance": 0.17321
}

Semantic roles & 50–950 ramp

primary
#875FC4
secondary
#C4D4AB
accent
#D652A2
background
#FAF8FD
surface
#F5F0FA
border
#CFCBD3
text
#100C14
muted
#7F7D83

Preview Lab

Preview with #875FC4

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

Preview Lab → · Contrast checker → · Palette generator →

#875FC4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva