#875CDF#875CDF

#875CDF is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.6% C 0.191 H 294.9°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#875CDF
RGBrgb(135, 92, 223)
HSLhsl(260, 67%, 62%)
HSVhsv(260, 59%, 87%)
CMYKcmyk(39.5%, 58.7%, 0%, 12.5%)
CIE-LABlab(49.66, 46.23, -60.94)
CIE-LCHlch(49.66, 76.49, 307.19°)
OKLaboklab(58.56% 0.0806 -0.1734)
OKLCHoklch(58.56% 0.191 294.9)
XYZxyz(27.1346, 18.1323, 71.8680)
Luminance0.1813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875CDF #B4DF5C
analogous
#5C73DF #875CDF #C95CDF
triadic
#875CDF #DF875C #5CDF87
tetradic
#875CDF #DF5C73 #B4DF5C #5CDFC9
square
#875CDF #DF5C73 #B4DF5C #5CDFC9
split-complementary
#875CDF #DFC95C #73DF5C
monochromatic
#4A20A1 #622AD4 #875CDF #AD8FE9 #D2C2F3

Accessibility & contrast

On white

4.54
#875CDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#875CDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875CDF
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875CDF#FFFFFF#000000##000000
##875CDF1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #875cdf;
/* rgb */ color: rgb(135, 92, 223);
/* oklch */ color: oklch(58.6% 0.191 294.9);
Tailwind
colors: {
  custom: {
    50: '#af8cea',
    500: '#875cdf',
    950: '#000000',
  },
}
SCSS
$custom: #875cdf;
$custom-light: #af8cea;
$custom-dark: #000000;
JSON
{
  "hex": "#875cdf",
  "rgb": {
    "r": 135,
    "g": 92,
    "b": 223
  },
  "hsl": {
    "h": 259.695,
    "s": 67.179,
    "l": 61.765
  },
  "oklch": {
    "l": 0.58558,
    "c": 0.19122,
    "h": 294.9
  },
  "luminance": 0.18133
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #875CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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