#875FD9#875FD9

#875FD9 is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.6% C 0.180 H 295.4°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#875FD9
RGBrgb(135, 95, 217)
HSLhsl(260, 62%, 61%)
HSVhsv(260, 56%, 85%)
CMYKcmyk(37.8%, 56.2%, 0%, 14.9%)
CIE-LABlab(49.91, 42.97, -57.12)
CIE-LCHlch(49.91, 71.48, 306.95°)
OKLaboklab(58.62% 0.0772 -0.1622)
OKLCHoklch(58.62% 0.18 295.4)
XYZxyz(26.6050, 18.3446, 67.7713)
Luminance0.1835 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875FD9 #B1D95F
analogous
#5F74D9 #875FD9 #C45FD9
triadic
#875FD9 #D9875F #5FD987
tetradic
#875FD9 #D95F74 #B1D95F #5FD9C4
square
#875FD9 #D95F74 #B1D95F #5FD9C4
split-complementary
#875FD9 #D9C45F #74D95F
monochromatic
#4B2499 #6330CB #875FD9 #AC90E5 #D1C2F0

Accessibility & contrast

On white

4.50
#875FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#875FD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875FD9
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875FD9#FFFFFF#000000##000000
##875FD91.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2178DD
Deuteranopia (green-blind)
#3075D6
Tritanopia (blue-blind)
#737993
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #875fd9;
/* rgb */ color: rgb(135, 95, 217);
/* oklch */ color: oklch(58.6% 0.180 295.4);
Tailwind
colors: {
  custom: {
    50: '#af8ee5',
    500: '#875fd9',
    950: '#000000',
  },
}
SCSS
$custom: #875fd9;
$custom-light: #af8ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#875fd9",
  "rgb": {
    "r": 135,
    "g": 95,
    "b": 217
  },
  "hsl": {
    "h": 259.672,
    "s": 61.616,
    "l": 61.176
  },
  "oklch": {
    "l": 0.58623,
    "c": 0.1796,
    "h": 295.4
  },
  "luminance": 0.18345
}

Semantic roles & 50–950 ramp

primary
#875FD9
secondary
#D2E1B3
accent
#C91C91
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #875FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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