#875FC7#875FC7

#875FC7 is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.5% C 0.157 H 299.2°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#875FC7
RGBrgb(135, 95, 199)
HSLhsl(263, 48%, 58%)
HSVhsv(263, 52%, 78%)
CMYKcmyk(32.2%, 52.3%, 0%, 22%)
CIE-LABlab(48.83, 38.28, -48.56)
CIE-LCHlch(48.83, 61.84, 308.25°)
OKLaboklab(57.48% 0.0765 -0.1371)
OKLCHoklch(57.48% 0.157 299.2)
XYZxyz(24.3902, 17.4586, 56.1066)
Luminance0.1746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875FC7 #9FC75F
analogous
#5F6BC7 #875FC7 #BB5FC7
triadic
#875FC7 #C7875F #5FC787
tetradic
#875FC7 #C75F6B #9FC75F #5FC7BB
square
#875FC7 #C75F6B #9FC75F #5FC7BB
split-complementary
#875FC7 #C7BB5F #6BC75F
monochromatic
#4C2C7F #673CAC #875FC7 #A98CD7 #CBBAE7

Accessibility & contrast

On white

4.68
#875FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#875FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875FC7
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875FC7#FFFFFF#000000##FFFFFF
##875FC71.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3974CB
Deuteranopia (green-blind)
#4473C5
Tritanopia (blue-blind)
#7A738A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #875fc7;
/* rgb */ color: rgb(135, 95, 199);
/* oklch */ color: oklch(57.5% 0.157 299.2);
Tailwind
colors: {
  custom: {
    50: '#ad8dd8',
    500: '#875fc7',
    950: '#000000',
  },
}
SCSS
$custom: #875fc7;
$custom-light: #ad8dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#875fc7",
  "rgb": {
    "r": 135,
    "g": 95,
    "b": 199
  },
  "hsl": {
    "h": 263.077,
    "s": 48.148,
    "l": 57.647
  },
  "oklch": {
    "l": 0.57479,
    "c": 0.15696,
    "h": 299.2
  },
  "luminance": 0.17459
}

Semantic roles & 50–950 ramp

primary
#875FC7
secondary
#C6D6AC
accent
#D850A4
background
#FAF8FD
surface
#F5F0FA
border
#CFCBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #875FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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