#875BF2#875BF2

#875BF2 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.8% C 0.215 H 292.0°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#875BF2
RGBrgb(135, 91, 242)
HSLhsl(257, 85%, 65%)
HSVhsv(257, 62%, 95%)
CMYKcmyk(44.2%, 62.4%, 0%, 5.1%)
CIE-LABlab(50.74, 51.84, -69.88)
CIE-LCHlch(50.74, 87.01, 306.57°)
OKLaboklab(59.75% 0.0807 -0.1997)
OKLCHoklch(59.75% 0.215 292)
XYZxyz(29.7553, 19.0429, 86.0951)
Luminance0.1904 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875BF2 #C6F25B
analogous
#5B7BF2 #875BF2 #D25BF2
triadic
#875BF2 #F2875B #5BF287
tetradic
#875BF2 #F25B7B #C6F25B #5BF2D2
square
#875BF2 #F25B7B #C6F25B #5BF2D2
split-complementary
#875BF2 #F2D25B #7BF25B
monochromatic
#440FC3 #5E22EE #875BF2 #B094F6 #DACCFB

Accessibility & contrast

On white

4.37
#875BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#875BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875BF2
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875BF2#FFFFFF#000000##000000
##875BF21.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #875bf2;
/* rgb */ color: rgb(135, 91, 242);
/* oklch */ color: oklch(59.8% 0.215 292.0);
Tailwind
colors: {
  custom: {
    50: '#b18bf7',
    500: '#875bf2',
    950: '#000000',
  },
}
SCSS
$custom: #875bf2;
$custom-light: #b18bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#875bf2",
  "rgb": {
    "r": 135,
    "g": 91,
    "b": 242
  },
  "hsl": {
    "h": 257.483,
    "s": 85.311,
    "l": 65.294
  },
  "oklch": {
    "l": 0.59753,
    "c": 0.21538,
    "h": 292
  },
  "luminance": 0.19044
}

Semantic roles & 50–950 ramp

primary
#875BF2
secondary
#DFEEBB
accent
#E204A1
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #875BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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