#875FD6#875FD6

#875FD6 is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.4% C 0.176 H 296.0°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#875FD6
RGBrgb(135, 95, 214)
HSLhsl(260, 59%, 61%)
HSVhsv(260, 56%, 84%)
CMYKcmyk(36.9%, 55.6%, 0%, 16.1%)
CIE-LABlab(49.73, 42.18, -55.71)
CIE-LCHlch(49.73, 69.88, 307.13°)
OKLaboklab(58.43% 0.0771 -0.158)
OKLCHoklch(58.43% 0.176 296)
XYZxyz(26.2184, 18.1899, 65.7350)
Luminance0.1819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875FD6 #AED65F
analogous
#5F72D6 #875FD6 #C25FD6
triadic
#875FD6 #D6875F #5FD687
tetradic
#875FD6 #D65F72 #AED65F #5FD6C2
square
#875FD6 #D65F72 #AED65F #5FD6C2
split-complementary
#875FD6 #D6C25F #72D65F
monochromatic
#4B2695 #6433C5 #875FD6 #AC90E2 #D0C0EF

Accessibility & contrast

On white

4.53
#875FD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#875FD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875FD6
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875FD6#FFFFFF#000000##000000
##875FD61.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2677DA
Deuteranopia (green-blind)
#3475D3
Tritanopia (blue-blind)
#747891
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #875fd6;
/* rgb */ color: rgb(135, 95, 214);
/* oklch */ color: oklch(58.4% 0.176 296.0);
Tailwind
colors: {
  custom: {
    50: '#ae8ee3',
    500: '#875fd6',
    950: '#000000',
  },
}
SCSS
$custom: #875fd6;
$custom-light: #ae8ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#875fd6",
  "rgb": {
    "r": 135,
    "g": 95,
    "b": 214
  },
  "hsl": {
    "h": 260.168,
    "s": 59.204,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58427,
    "c": 0.17586,
    "h": 296
  },
  "luminance": 0.1819
}

Semantic roles & 50–950 ramp

primary
#875FD6
secondary
#D0DFB2
accent
#C71F8E
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C15
muted
#807D84

Preview Lab

Preview with #875FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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