#875BDF#875BDF

#875BDF is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.4% C 0.193 H 295.1°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#875BDF
RGBrgb(135, 91, 223)
HSLhsl(260, 67%, 62%)
HSVhsv(260, 59%, 87%)
CMYKcmyk(39.5%, 59.2%, 0%, 12.5%)
CIE-LABlab(49.45, 46.78, -61.27)
CIE-LCHlch(49.45, 77.09, 307.36°)
OKLaboklab(58.4% 0.0818 -0.1744)
OKLCHoklch(58.4% 0.193 295.1)
XYZxyz(27.0485, 17.9602, 71.8393)
Luminance0.1796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875BDF #B3DF5B
analogous
#5B71DF #875BDF #C95BDF
triadic
#875BDF #DF875B #5BDF87
tetradic
#875BDF #DF5B71 #B3DF5B #5BDFC9
square
#875BDF #DF5B71 #B3DF5B #5BDFC9
split-complementary
#875BDF #DFC95B #71DF5B
monochromatic
#4A1FA0 #6229D4 #875BDF #AC8EE9 #D2C1F3

Accessibility & contrast

On white

4.57
#875BDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#875BDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875BDF
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875BDF#FFFFFF#000000##000000
##875BDF1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E3
Deuteranopia (green-blind)
#1B74DC
Tritanopia (blue-blind)
#717894
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #875bdf;
/* rgb */ color: rgb(135, 91, 223);
/* oklch */ color: oklch(58.4% 0.193 295.1);
Tailwind
colors: {
  custom: {
    50: '#af8bea',
    500: '#875bdf',
    950: '#000000',
  },
}
SCSS
$custom: #875bdf;
$custom-light: #af8bea;
$custom-dark: #000000;
JSON
{
  "hex": "#875bdf",
  "rgb": {
    "r": 135,
    "g": 91,
    "b": 223
  },
  "hsl": {
    "h": 260,
    "s": 67.347,
    "l": 61.569
  },
  "oklch": {
    "l": 0.58405,
    "c": 0.19261,
    "h": 295.1
  },
  "luminance": 0.17961
}

Semantic roles & 50–950 ramp

primary
#875BDF
secondary
#D3E3B2
accent
#CF1692
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #875BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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