#875ED7#875ED7

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

Color values

HEX#875ED7
RGBrgb(135, 94, 215)
HSLhsl(260, 60%, 61%)
HSVhsv(260, 56%, 84%)
CMYKcmyk(37.2%, 56.3%, 0%, 15.7%)
CIE-LABlab(49.57, 43.01, -56.53)
CIE-LCHlch(49.57, 71.03, 307.26°)
OKLaboklab(58.33% 0.0784 -0.1604)
OKLCHoklch(58.33% 0.179 296)
XYZxyz(26.2570, 18.0621, 66.3798)
Luminance0.1806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875ED7 #AED75E
analogous
#5E71D7 #875ED7 #C45ED7
triadic
#875ED7 #D7875E #5ED787
tetradic
#875ED7 #D75E71 #AED75E #5ED7C4
square
#875ED7 #D75E71 #AED75E #5ED7C4
split-complementary
#875ED7 #D7C45E #71D75E
monochromatic
#4B2595 #6431C6 #875ED7 #AC8FE3 #D0C0EF

Accessibility & contrast

On white

4.55
#875ED7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#875ED7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875ED7
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875ED7#FFFFFF#000000##000000
##875ED71.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2177DB
Deuteranopia (green-blind)
#3174D4
Tritanopia (blue-blind)
#747791
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #875ed7;
/* rgb */ color: rgb(135, 94, 215);
/* oklch */ color: oklch(58.3% 0.179 296.0);
Tailwind
colors: {
  custom: {
    50: '#ae8de4',
    500: '#875ed7',
    950: '#000000',
  },
}
SCSS
$custom: #875ed7;
$custom-light: #ae8de4;
$custom-dark: #000000;
JSON
{
  "hex": "#875ed7",
  "rgb": {
    "r": 135,
    "g": 94,
    "b": 215
  },
  "hsl": {
    "h": 260.331,
    "s": 60.199,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58333,
    "c": 0.17855,
    "h": 296
  },
  "luminance": 0.18063
}

Semantic roles & 50–950 ramp

primary
#875ED7
secondary
#D0DFB1
accent
#C81E8E
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #875ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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