#875BE7#875BE7

#875BE7 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.0% C 0.202 H 293.7°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#875BE7
RGBrgb(135, 91, 231)
HSLhsl(259, 74%, 63%)
HSVhsv(259, 61%, 91%)
CMYKcmyk(41.6%, 60.6%, 0%, 9.4%)
CIE-LABlab(49.98, 48.90, -64.93)
CIE-LCHlch(49.98, 81.28, 306.98°)
OKLaboklab(58.96% 0.0815 -0.1851)
OKLCHoklch(58.96% 0.202 293.7)
XYZxyz(28.1527, 18.4019, 77.6544)
Luminance0.1840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875BE7 #BBE75B
analogous
#5B75E7 #875BE7 #CD5BE7
triadic
#875BE7 #E7875B #5BE787
tetradic
#875BE7 #E75B75 #BBE75B #5BE7CD
square
#875BE7 #E75B75 #BBE75B #5BE7CD
split-complementary
#875BE7 #E7CD5B #75E75B
monochromatic
#4819AE #6026DF #875BE7 #AE90EF #D5C6F7

Accessibility & contrast

On white

4.49
#875BE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#875BE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875BE7
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875BE7#FFFFFF#000000##000000
##875BE71.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EB
Deuteranopia (green-blind)
#0074E4
Tritanopia (blue-blind)
#6D7A99
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #875be7;
/* rgb */ color: rgb(135, 91, 231);
/* oklch */ color: oklch(59.0% 0.202 293.7);
Tailwind
colors: {
  custom: {
    50: '#b08bef',
    500: '#875be7',
    950: '#000000',
  },
}
SCSS
$custom: #875be7;
$custom-light: #b08bef;
$custom-dark: #000000;
JSON
{
  "hex": "#875be7",
  "rgb": {
    "r": 135,
    "g": 91,
    "b": 231
  },
  "hsl": {
    "h": 258.857,
    "s": 74.468,
    "l": 63.137
  },
  "oklch": {
    "l": 0.58963,
    "c": 0.20226,
    "h": 293.7
  },
  "luminance": 0.18403
}

Semantic roles & 50–950 ramp

primary
#875BE7
secondary
#D8E8B6
accent
#D70F98
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #875BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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