#875FDF#875FDF

#875FDF is a mid, vivid violet. Relative luminance 0.187; OKLCH L 59.0% C 0.187 H 294.4°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#875FDF
RGBrgb(135, 95, 223)
HSLhsl(259, 67%, 62%)
HSVhsv(259, 57%, 87%)
CMYKcmyk(39.5%, 57.4%, 0%, 12.5%)
CIE-LABlab(50.29, 44.57, -59.91)
CIE-LCHlch(50.29, 74.67, 306.64°)
OKLaboklab(59.02% 0.0772 -0.1704)
OKLCHoklch(59.02% 0.187 294.4)
XYZxyz(27.3996, 18.6624, 71.9563)
Luminance0.1866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875FDF #B7DF5F
analogous
#5F77DF #875FDF #C75FDF
triadic
#875FDF #DF875F #5FDF87
tetradic
#875FDF #DF5F77 #B7DF5F #5FDFC7
square
#875FDF #DF5F77 #B7DF5F #5FDFC7
split-complementary
#875FDF #DFC75F #77DF5F
monochromatic
#4921A3 #612CD5 #875FDF #AD92E9 #D4C5F3

Accessibility & contrast

On white

4.44
#875FDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#875FDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875FDF
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875FDF#FFFFFF#000000##000000
##875FDF1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1279E3
Deuteranopia (green-blind)
#2676DC
Tritanopia (blue-blind)
#707B96
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #875fdf;
/* rgb */ color: rgb(135, 95, 223);
/* oklch */ color: oklch(59.0% 0.187 294.4);
Tailwind
colors: {
  custom: {
    50: '#af8eea',
    500: '#875fdf',
    950: '#000000',
  },
}
SCSS
$custom: #875fdf;
$custom-light: #af8eea;
$custom-dark: #000000;
JSON
{
  "hex": "#875fdf",
  "rgb": {
    "r": 135,
    "g": 95,
    "b": 223
  },
  "hsl": {
    "h": 258.75,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.59022,
    "c": 0.18704,
    "h": 294.4
  },
  "luminance": 0.18663
}

Semantic roles & 50–950 ramp

primary
#875FDF
secondary
#D6E4B6
accent
#CF1795
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #875FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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