#875DFF#875DFF

#875DFF is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.0% C 0.228 H 289.8°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#875DFF
RGBrgb(135, 93, 255)
HSLhsl(256, 100%, 68%)
HSVhsv(256, 64%, 100%)
CMYKcmyk(47.1%, 63.5%, 0%, 0%)
CIE-LABlab(52.06, 54.29, -74.97)
CIE-LCHlch(52.06, 92.56, 305.91°)
OKLaboklab(61% 0.0775 -0.2146)
OKLCHoklch(61% 0.228 289.8)
XYZxyz(31.9509, 20.1983, 96.8035)
Luminance0.2020 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875DFF #D5FF5D
analogous
#5D84FF #875DFF #D85DFF
triadic
#875DFF #FF875D #5DFF87
tetradic
#875DFF #FF5D84 #D5FF5D #5DFFD8
square
#875DFF #FF5D84 #D5FF5D #5DFFD8
split-complementary
#875DFF #FFD85D #84FF5D
monochromatic
#3A00E2 #5A20FF #875DFF #B49AFF #E2D7FF

Accessibility & contrast

On white

4.17
#875DFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#875DFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875DFF
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875DFF#FFFFFF#000000##000000
##875DFF1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#0078FC
Tritanopia (blue-blind)
#6084A6
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #875dff;
/* rgb */ color: rgb(135, 93, 255);
/* oklch */ color: oklch(61.0% 0.228 289.8);
Tailwind
colors: {
  custom: {
    50: '#b28dff',
    500: '#875dff',
    950: '#000000',
  },
}
SCSS
$custom: #875dff;
$custom-light: #b28dff;
$custom-dark: #000000;
JSON
{
  "hex": "#875dff",
  "rgb": {
    "r": 135,
    "g": 93,
    "b": 255
  },
  "hsl": {
    "h": 255.556,
    "s": 100,
    "l": 68.235
  },
  "oklch": {
    "l": 0.61003,
    "c": 0.2282,
    "h": 289.8
  },
  "luminance": 0.202
}

Semantic roles & 50–950 ramp

primary
#875DFF
secondary
#E8F4C3
accent
#E600AA
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #875DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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