#875FE7#875FE7

#875FE7 is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.6% C 0.197 H 293.0°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#875FE7
RGBrgb(135, 95, 231)
HSLhsl(258, 74%, 64%)
HSVhsv(258, 59%, 91%)
CMYKcmyk(41.6%, 58.9%, 0%, 9.4%)
CIE-LABlab(50.81, 46.71, -63.59)
CIE-LCHlch(50.81, 78.90, 306.30°)
OKLaboklab(59.57% 0.077 -0.1812)
OKLCHoklch(59.57% 0.197 293)
XYZxyz(28.5038, 19.1041, 77.7715)
Luminance0.1910 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875FE7 #BFE75F
analogous
#5F7BE7 #875FE7 #CB5FE7
triadic
#875FE7 #E7875F #5FE787
tetradic
#875FE7 #E75F7B #BFE75F #5FE7CB
square
#875FE7 #E75F7B #BFE75F #5FE7CB
split-complementary
#875FE7 #E7CB5F #7BE75F
monochromatic
#471BB1 #5F2ADF #875FE7 #AF94EF #D7C9F7

Accessibility & contrast

On white

4.36
#875FE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#875FE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875FE7
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875FE7#FFFFFF#000000##000000
##875FE71.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEB
Deuteranopia (green-blind)
#1076E4
Tritanopia (blue-blind)
#6D7D9A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #875fe7;
/* rgb */ color: rgb(135, 95, 231);
/* oklch */ color: oklch(59.6% 0.197 293.0);
Tailwind
colors: {
  custom: {
    50: '#b08eef',
    500: '#875fe7',
    950: '#000000',
  },
}
SCSS
$custom: #875fe7;
$custom-light: #b08eef;
$custom-dark: #000000;
JSON
{
  "hex": "#875fe7",
  "rgb": {
    "r": 135,
    "g": 95,
    "b": 231
  },
  "hsl": {
    "h": 257.647,
    "s": 73.913,
    "l": 63.922
  },
  "oklch": {
    "l": 0.59568,
    "c": 0.19688,
    "h": 293
  },
  "luminance": 0.19105
}

Semantic roles & 50–950 ramp

primary
#875FE7
secondary
#DBE9B9
accent
#D60F9C
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #875FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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