#875CCF#875CCF

#875CCF is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.5% C 0.172 H 298.1°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#875CCF
RGBrgb(135, 92, 207)
HSLhsl(262, 55%, 59%)
HSVhsv(262, 56%, 81%)
CMYKcmyk(34.8%, 55.6%, 0%, 18.8%)
CIE-LABlab(48.65, 42.04, -53.45)
CIE-LCHlch(48.65, 68.00, 308.19°)
OKLaboklab(57.5% 0.0807 -0.1514)
OKLCHoklch(57.5% 0.172 298.1)
XYZxyz(25.0785, 17.3099, 61.0393)
Luminance0.1731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875CCF #A4CF5C
analogous
#5C6ACF #875CCF #C05CCF
triadic
#875CCF #CF875C #5CCF87
tetradic
#875CCF #CF5C6A #A4CF5C #5CCFC0
square
#875CCF #CF5C6A #A4CF5C #5CCFC0
split-complementary
#875CCF #CFC05C #6ACF5C
monochromatic
#4C2888 #6736B8 #875CCF #AA8BDD #CDBBEB

Accessibility & contrast

On white

4.71
#875CCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#875CCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875CCF
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875CCF#FFFFFF#000000##FFFFFF
##875CCF1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2974D3
Deuteranopia (green-blind)
#3772CC
Tritanopia (blue-blind)
#77738D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #875ccf;
/* rgb */ color: rgb(135, 92, 207);
/* oklch */ color: oklch(57.5% 0.172 298.1);
Tailwind
colors: {
  custom: {
    50: '#ae8bde',
    500: '#875ccf',
    950: '#000000',
  },
}
SCSS
$custom: #875ccf;
$custom-light: #ae8bde;
$custom-dark: #000000;
JSON
{
  "hex": "#875ccf",
  "rgb": {
    "r": 135,
    "g": 92,
    "b": 207
  },
  "hsl": {
    "h": 262.435,
    "s": 54.502,
    "l": 58.627
  },
  "oklch": {
    "l": 0.57495,
    "c": 0.17155,
    "h": 298.1
  },
  "luminance": 0.1731
}

Semantic roles & 50–950 ramp

primary
#875CCF
secondary
#C9DAAD
accent
#DE4AA7
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #875CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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