#875FE0#875FE0

#875FE0 is a mid, vivid violet. Relative luminance 0.187; OKLCH L 59.1% C 0.188 H 294.2°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#875FE0
RGBrgb(135, 95, 224)
HSLhsl(259, 68%, 63%)
HSVhsv(259, 58%, 88%)
CMYKcmyk(39.7%, 57.6%, 0%, 12.2%)
CIE-LABlab(50.35, 44.83, -60.38)
CIE-LCHlch(50.35, 75.20, 306.60°)
OKLaboklab(59.09% 0.0771 -0.1718)
OKLCHoklch(59.09% 0.188 294.2)
XYZxyz(27.5349, 18.7165, 72.6685)
Luminance0.1872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875FE0 #B8E05F
analogous
#5F77E0 #875FE0 #C85FE0
triadic
#875FE0 #E0875F #5FE087
tetradic
#875FE0 #E05F77 #B8E05F #5FE0C8
square
#875FE0 #E05F77 #B8E05F #5FE0C8
split-complementary
#875FE0 #E0C85F #77E05F
monochromatic
#4920A5 #612CD6 #875FE0 #AD92EA #D4C6F4

Accessibility & contrast

On white

4.43
#875FE0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#875FE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875FE0
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875FE0#FFFFFF#000000##000000
##875FE01.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F79E4
Deuteranopia (green-blind)
#2476DD
Tritanopia (blue-blind)
#707B96
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #875fe0;
/* rgb */ color: rgb(135, 95, 224);
/* oklch */ color: oklch(59.1% 0.188 294.2);
Tailwind
colors: {
  custom: {
    50: '#af8eea',
    500: '#875fe0',
    950: '#000000',
  },
}
SCSS
$custom: #875fe0;
$custom-light: #af8eea;
$custom-dark: #000000;
JSON
{
  "hex": "#875fe0",
  "rgb": {
    "r": 135,
    "g": 95,
    "b": 224
  },
  "hsl": {
    "h": 258.605,
    "s": 67.539,
    "l": 62.549
  },
  "oklch": {
    "l": 0.5909,
    "c": 0.18828,
    "h": 294.2
  },
  "luminance": 0.18717
}

Semantic roles & 50–950 ramp

primary
#875FE0
secondary
#D6E5B6
accent
#CF1696
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #875FE0

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

Preview Lab → · Contrast checker → · Palette generator →

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