#875BF6#875BF6

#875BF6 is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.0% C 0.220 H 291.4°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#875BF6
RGBrgb(135, 91, 246)
HSLhsl(257, 90%, 66%)
HSVhsv(257, 63%, 96%)
CMYKcmyk(45.1%, 63%, 0%, 3.5%)
CIE-LABlab(51.02, 52.92, -71.65)
CIE-LCHlch(51.02, 89.08, 306.45°)
OKLaboklab(60.05% 0.0803 -0.2049)
OKLCHoklch(60.05% 0.22 291.4)
XYZxyz(30.3627, 19.2859, 89.2937)
Luminance0.1929 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875BF6 #CAF65B
analogous
#5B7CF6 #875BF6 #D45BF6
triadic
#875BF6 #F6875B #5BF687
tetradic
#875BF6 #F65B7C #CAF65B #5BF6D4
square
#875BF6 #F65B7C #CAF65B #5BF6D4
split-complementary
#875BF6 #F6D45B #7CF65B
monochromatic
#420BCB #5D21F3 #875BF6 #B195F9 #DCCFFC

Accessibility & contrast

On white

4.32
#875BF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#875BF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875BF6
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875BF6#FFFFFF#000000##000000
##875BF61.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFB
Deuteranopia (green-blind)
#0076F3
Tritanopia (blue-blind)
#6580A0
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #875bf6;
/* rgb */ color: rgb(135, 91, 246);
/* oklch */ color: oklch(60.0% 0.220 291.4);
Tailwind
colors: {
  custom: {
    50: '#b28cfa',
    500: '#875bf6',
    950: '#000000',
  },
}
SCSS
$custom: #875bf6;
$custom-light: #b28cfa;
$custom-dark: #000000;
JSON
{
  "hex": "#875bf6",
  "rgb": {
    "r": 135,
    "g": 91,
    "b": 246
  },
  "hsl": {
    "h": 257.032,
    "s": 89.595,
    "l": 66.078
  },
  "oklch": {
    "l": 0.60047,
    "c": 0.2201,
    "h": 291.4
  },
  "luminance": 0.19287
}

Semantic roles & 50–950 ramp

primary
#875BF6
secondary
#E1F0BD
accent
#E600A4
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #875BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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