#875FCE#875FCE

#875FCE is a mid, vivid violet. Relative luminance 0.178; OKLCH L 57.9% C 0.166 H 297.6°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#875FCE
RGBrgb(135, 95, 206)
HSLhsl(262, 53%, 59%)
HSVhsv(262, 54%, 81%)
CMYKcmyk(34.5%, 53.9%, 0%, 19.2%)
CIE-LABlab(49.24, 40.09, -51.92)
CIE-LCHlch(49.24, 65.60, 307.67°)
OKLaboklab(57.91% 0.0769 -0.1469)
OKLCHoklch(57.91% 0.166 297.6)
XYZxyz(25.2217, 17.7912, 60.4858)
Luminance0.1779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875FCE #A6CE5F
analogous
#5F6FCE #875FCE #BF5FCE
triadic
#875FCE #CE875F #5FCE87
tetradic
#875FCE #CE5F6F #A6CE5F #5FCEBF
square
#875FCE #CE5F6F #A6CE5F #5FCEBF
split-complementary
#875FCE #CEBF5F #6FCE5F
monochromatic
#4C2A89 #6638B8 #875FCE #AA8EDC #CDBDEB

Accessibility & contrast

On white

4.61
#875FCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#875FCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #875FCE
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875FCE#FFFFFF#000000##FFFFFF
##875FCE1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3175D2
Deuteranopia (green-blind)
#3D74CB
Tritanopia (blue-blind)
#77758D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #875fce;
/* rgb */ color: rgb(135, 95, 206);
/* oklch */ color: oklch(57.9% 0.166 297.6);
Tailwind
colors: {
  custom: {
    50: '#ae8ddd',
    500: '#875fce',
    950: '#000000',
  },
}
SCSS
$custom: #875fce;
$custom-light: #ae8ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#875fce",
  "rgb": {
    "r": 135,
    "g": 95,
    "b": 206
  },
  "hsl": {
    "h": 261.622,
    "s": 53.11,
    "l": 59.02
  },
  "oklch": {
    "l": 0.57914,
    "c": 0.16581,
    "h": 297.6
  },
  "luminance": 0.17792
}

Semantic roles & 50–950 ramp

primary
#875FCE
secondary
#CADAAF
accent
#DD4BA8
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #875FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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