#875BF1#875BF1

#875BF1 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.7% C 0.214 H 292.2°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#875BF1
RGBrgb(135, 91, 241)
HSLhsl(258, 84%, 65%)
HSVhsv(258, 62%, 95%)
CMYKcmyk(44%, 62.2%, 0%, 5.5%)
CIE-LABlab(50.67, 51.57, -69.43)
CIE-LCHlch(50.67, 86.49, 306.61°)
OKLaboklab(59.68% 0.0808 -0.1984)
OKLCHoklch(59.68% 0.214 292.2)
XYZxyz(29.6056, 18.9830, 85.3062)
Luminance0.1898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875BF1 #C5F15B
analogous
#5B7AF1 #875BF1 #D25BF1
triadic
#875BF1 #F1875B #5BF187
tetradic
#875BF1 #F15B7A #C5F15B #5BF1D2
square
#875BF1 #F15B7A #C5F15B #5BF1D2
split-complementary
#875BF1 #F1D25B #7AF15B
monochromatic
#4410C1 #5E23EC #875BF1 #B093F6 #DACCFB

Accessibility & contrast

On white

4.38
#875BF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#875BF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875BF1
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875BF1#FFFFFF#000000##000000
##875BF11.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF6
Deuteranopia (green-blind)
#0076EE
Tritanopia (blue-blind)
#687E9E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #875bf1;
/* rgb */ color: rgb(135, 91, 241);
/* oklch */ color: oklch(59.7% 0.214 292.2);
Tailwind
colors: {
  custom: {
    50: '#b18bf7',
    500: '#875bf1',
    950: '#000000',
  },
}
SCSS
$custom: #875bf1;
$custom-light: #b18bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#875bf1",
  "rgb": {
    "r": 135,
    "g": 91,
    "b": 241
  },
  "hsl": {
    "h": 257.6,
    "s": 84.27,
    "l": 65.098
  },
  "oklch": {
    "l": 0.5968,
    "c": 0.21418,
    "h": 292.2
  },
  "luminance": 0.18984
}

Semantic roles & 50–950 ramp

primary
#875BF1
secondary
#DEEDBA
accent
#E105A0
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #875BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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