#875CDB#875CDB

#875CDB is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.3% C 0.186 H 295.7°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#875CDB
RGBrgb(135, 92, 219)
HSLhsl(260, 64%, 61%)
HSVhsv(260, 58%, 86%)
CMYKcmyk(38.4%, 58%, 0%, 14.1%)
CIE-LABlab(49.40, 45.17, -59.08)
CIE-LCHlch(49.40, 74.37, 307.40°)
OKLaboklab(58.29% 0.0807 -0.1679)
OKLCHoklch(58.29% 0.186 295.7)
XYZxyz(26.6017, 17.9191, 69.0613)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875CDB #B0DB5C
analogous
#5C70DB #875CDB #C65CDB
triadic
#875CDB #DB875C #5CDB87
tetradic
#875CDB #DB5C70 #B0DB5C #5CDBC6
square
#875CDB #DB5C70 #B0DB5C #5CDBC6
split-complementary
#875CDB #DBC65C #70DB5C
monochromatic
#4B229A #632DCD #875CDB #AC8EE6 #D1C0F1

Accessibility & contrast

On white

4.58
#875CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#875CDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875CDB
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875CDB#FFFFFF#000000##000000
##875CDB1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E76DF
Deuteranopia (green-blind)
#2674D8
Tritanopia (blue-blind)
#727793
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #875cdb;
/* rgb */ color: rgb(135, 92, 219);
/* oklch */ color: oklch(58.3% 0.186 295.7);
Tailwind
colors: {
  custom: {
    50: '#af8ce7',
    500: '#875cdb',
    950: '#000000',
  },
}
SCSS
$custom: #875cdb;
$custom-light: #af8ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#875cdb",
  "rgb": {
    "r": 135,
    "g": 92,
    "b": 219
  },
  "hsl": {
    "h": 260.315,
    "s": 63.819,
    "l": 60.98
  },
  "oklch": {
    "l": 0.58286,
    "c": 0.18635,
    "h": 295.7
  },
  "luminance": 0.1792
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #875CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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