#875BE1#875BE1

#875BE1 is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.5% C 0.195 H 294.8°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#875BE1
RGBrgb(135, 91, 225)
HSLhsl(260, 69%, 62%)
HSVhsv(260, 60%, 88%)
CMYKcmyk(40%, 59.6%, 0%, 11.8%)
CIE-LABlab(49.58, 47.31, -62.19)
CIE-LCHlch(49.58, 78.14, 307.26°)
OKLaboklab(58.54% 0.0817 -0.1771)
OKLCHoklch(58.54% 0.195 294.8)
XYZxyz(27.3198, 18.0687, 73.2678)
Luminance0.1807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875BE1 #B5E15B
analogous
#5B72E1 #875BE1 #CA5BE1
triadic
#875BE1 #E1875B #5BE187
tetradic
#875BE1 #E15B72 #B5E15B #5BE1CA
square
#875BE1 #E15B72 #B5E15B #5BE1CA
split-complementary
#875BE1 #E1CA5B #72E15B
monochromatic
#4A1EA4 #6127D7 #875BE1 #AD8FEA #D3C2F4

Accessibility & contrast

On white

4.55
#875BE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#875BE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875BE1
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875BE1#FFFFFF#000000##000000
##875BE11.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E5
Deuteranopia (green-blind)
#1574DE
Tritanopia (blue-blind)
#707995
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #875be1;
/* rgb */ color: rgb(135, 91, 225);
/* oklch */ color: oklch(58.5% 0.195 294.8);
Tailwind
colors: {
  custom: {
    50: '#af8beb',
    500: '#875be1',
    950: '#000000',
  },
}
SCSS
$custom: #875be1;
$custom-light: #af8beb;
$custom-dark: #000000;
JSON
{
  "hex": "#875be1",
  "rgb": {
    "r": 135,
    "g": 91,
    "b": 225
  },
  "hsl": {
    "h": 259.701,
    "s": 69.072,
    "l": 61.961
  },
  "oklch": {
    "l": 0.58543,
    "c": 0.19503,
    "h": 294.8
  },
  "luminance": 0.18069
}

Semantic roles & 50–950 ramp

primary
#875BE1
secondary
#D4E5B3
accent
#D11493
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #875BE1

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

Preview Lab → · Contrast checker → · Palette generator →

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