#875FDB#875FDB

#875FDB is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.8% C 0.182 H 295.1°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#875FDB
RGBrgb(135, 95, 219)
HSLhsl(259, 63%, 62%)
HSVhsv(259, 57%, 86%)
CMYKcmyk(38.4%, 56.6%, 0%, 14.1%)
CIE-LABlab(50.04, 43.50, -58.06)
CIE-LCHlch(50.04, 72.55, 306.84°)
OKLaboklab(58.76% 0.0772 -0.1649)
OKLCHoklch(58.76% 0.182 295.1)
XYZxyz(26.8667, 18.4492, 69.1496)
Luminance0.1845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875FDB #B3DB5F
analogous
#5F75DB #875FDB #C55FDB
triadic
#875FDB #DB875F #5FDB87
tetradic
#875FDB #DB5F75 #B3DB5F #5FDBC5
square
#875FDB #DB5F75 #B3DB5F #5FDBC5
split-complementary
#875FDB #DBC55F #75DB5F
monochromatic
#4A239C #622ECE #875FDB #AC91E6 #D2C3F1

Accessibility & contrast

On white

4.48
#875FDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#875FDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875FDB
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875FDB#FFFFFF#000000##000000
##875FDB1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D78DF
Deuteranopia (green-blind)
#2D75D8
Tritanopia (blue-blind)
#727994
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #875fdb;
/* rgb */ color: rgb(135, 95, 219);
/* oklch */ color: oklch(58.8% 0.182 295.1);
Tailwind
colors: {
  custom: {
    50: '#af8ee7',
    500: '#875fdb',
    950: '#000000',
  },
}
SCSS
$custom: #875fdb;
$custom-light: #af8ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#875fdb",
  "rgb": {
    "r": 135,
    "g": 95,
    "b": 219
  },
  "hsl": {
    "h": 259.355,
    "s": 63.265,
    "l": 61.569
  },
  "oklch": {
    "l": 0.58755,
    "c": 0.18208,
    "h": 295.1
  },
  "luminance": 0.1845
}

Semantic roles & 50–950 ramp

primary
#875FDB
secondary
#D3E2B4
accent
#CB1A92
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #875FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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