#875BFB#875BFB

#875BFB is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.4% C 0.226 H 290.7°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#875BFB
RGBrgb(135, 91, 251)
HSLhsl(257, 95%, 67%)
HSVhsv(257, 64%, 98%)
CMYKcmyk(46.2%, 63.7%, 0%, 1.6%)
CIE-LABlab(51.38, 54.27, -73.85)
CIE-LCHlch(51.38, 91.65, 306.31°)
OKLaboklab(60.42% 0.0799 -0.2114)
OKLCHoklch(60.42% 0.226 290.7)
XYZxyz(31.1404, 19.5970, 93.3899)
Luminance0.1960 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875BFB #CFFB5B
analogous
#5B7FFB #875BFB #D75BFB
triadic
#875BFB #FB875B #5BFB87
tetradic
#875BFB #FB5B7F #CFFB5B #5BFBD7
square
#875BFB #FB5B7F #CFFB5B #5BFBD7
split-complementary
#875BFB #FBD75B #7FFB5B
monochromatic
#3F05D6 #5B1FFA #875BFB #B397FC #DED2FE

Accessibility & contrast

On white

4.27
#875BFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#875BFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875BFB
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875BFB#FFFFFF#000000##000000
##875BFB1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFF
Deuteranopia (green-blind)
#0077F8
Tritanopia (blue-blind)
#6381A3
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #875bfb;
/* rgb */ color: rgb(135, 91, 251);
/* oklch */ color: oklch(60.4% 0.226 290.7);
Tailwind
colors: {
  custom: {
    50: '#b28cfe',
    500: '#875bfb',
    950: '#000000',
  },
}
SCSS
$custom: #875bfb;
$custom-light: #b28cfe;
$custom-dark: #000000;
JSON
{
  "hex": "#875bfb",
  "rgb": {
    "r": 135,
    "g": 91,
    "b": 251
  },
  "hsl": {
    "h": 256.5,
    "s": 95.238,
    "l": 67.059
  },
  "oklch": {
    "l": 0.60419,
    "c": 0.22596,
    "h": 290.7
  },
  "luminance": 0.19598
}

Semantic roles & 50–950 ramp

primary
#875BFB
secondary
#E4F2C0
accent
#E600A6
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #875BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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