#875BDB#875BDB

#875BDB is a mid, vivid violet. Relative luminance 0.177; OKLCH L 58.1% C 0.188 H 295.9°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#875BDB
RGBrgb(135, 91, 219)
HSLhsl(261, 64%, 61%)
HSVhsv(261, 58%, 86%)
CMYKcmyk(38.4%, 58.4%, 0%, 14.1%)
CIE-LABlab(49.19, 45.72, -59.42)
CIE-LCHlch(49.19, 74.98, 307.58°)
OKLaboklab(58.13% 0.0819 -0.1689)
OKLCHoklch(58.13% 0.188 295.9)
XYZxyz(26.5156, 17.7470, 69.0326)
Luminance0.1775 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875BDB #AFDB5B
analogous
#5B6FDB #875BDB #C75BDB
triadic
#875BDB #DB875B #5BDB87
tetradic
#875BDB #DB5B6F #AFDB5B #5BDBC7
square
#875BDB #DB5B6F #AFDB5B #5BDBC7
split-complementary
#875BDB #DBC75B #6FDB5B
monochromatic
#4B229A #642DCC #875BDB #AC8DE6 #D0BFF1

Accessibility & contrast

On white

4.62
#875BDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#875BDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #875BDB
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875BDB#FFFFFF#000000##FFFFFF
##875BDB1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0676DF
Deuteranopia (green-blind)
#2473D8
Tritanopia (blue-blind)
#727792
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #875bdb;
/* rgb */ color: rgb(135, 91, 219);
/* oklch */ color: oklch(58.1% 0.188 295.9);
Tailwind
colors: {
  custom: {
    50: '#af8be7',
    500: '#875bdb',
    950: '#000000',
  },
}
SCSS
$custom: #875bdb;
$custom-light: #af8be7;
$custom-dark: #000000;
JSON
{
  "hex": "#875bdb",
  "rgb": {
    "r": 135,
    "g": 91,
    "b": 219
  },
  "hsl": {
    "h": 260.625,
    "s": 64,
    "l": 60.784
  },
  "oklch": {
    "l": 0.58132,
    "c": 0.18775,
    "h": 295.9
  },
  "luminance": 0.17748
}

Semantic roles & 50–950 ramp

primary
#875BDB
secondary
#D0E1B1
accent
#CC1A8F
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #875BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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