#875FC2#875FC2

#875FC2 is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.2% C 0.151 H 300.4°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#875FC2
RGBrgb(135, 95, 194)
HSLhsl(264, 45%, 57%)
HSVhsv(264, 51%, 76%)
CMYKcmyk(30.4%, 51%, 0%, 23.9%)
CIE-LABlab(48.55, 37.01, -46.13)
CIE-LCHlch(48.55, 59.14, 308.74°)
OKLaboklab(57.18% 0.0761 -0.13)
OKLCHoklch(57.18% 0.151 300.4)
XYZxyz(23.8192, 17.2302, 53.0994)
Luminance0.1723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875FC2 #9AC25F
analogous
#5F69C2 #875FC2 #B85FC2
triadic
#875FC2 #C2875F #5FC287
tetradic
#875FC2 #C25F69 #9AC25F #5FC2B8
square
#875FC2 #C25F69 #9AC25F #5FC2B8
split-complementary
#875FC2 #C2B85F #69C25F
monochromatic
#4C2E79 #683FA5 #875FC2 #A88BD3 #C9B8E4

Accessibility & contrast

On white

4.72
#875FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#875FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875FC2
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875FC2#FFFFFF#000000##FFFFFF
##875FC21.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D73C5
Deuteranopia (green-blind)
#4873C0
Tritanopia (blue-blind)
#7B7287
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #875fc2;
/* rgb */ color: rgb(135, 95, 194);
/* oklch */ color: oklch(57.2% 0.151 300.4);
Tailwind
colors: {
  custom: {
    50: '#ad8dd5',
    500: '#875fc2',
    950: '#000000',
  },
}
SCSS
$custom: #875fc2;
$custom-light: #ad8dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#875fc2",
  "rgb": {
    "r": 135,
    "g": 95,
    "b": 194
  },
  "hsl": {
    "h": 264.242,
    "s": 44.796,
    "l": 56.667
  },
  "oklch": {
    "l": 0.57176,
    "c": 0.15061,
    "h": 300.4
  },
  "luminance": 0.1723
}

Semantic roles & 50–950 ramp

primary
#875FC2
secondary
#C2D3AA
accent
#D453A0
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83

Preview Lab

Preview with #875FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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