#875FF6#875FF6

#875FF6 is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 60.6% C 0.215 H 290.8°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#875FF6
RGBrgb(135, 95, 246)
HSLhsl(256, 89%, 67%)
HSVhsv(256, 61%, 96%)
CMYKcmyk(45.1%, 61.4%, 0%, 3.5%)
CIE-LABlab(51.82, 50.77, -70.35)
CIE-LCHlch(51.82, 86.75, 305.82°)
OKLaboklab(60.63% 0.0762 -0.2011)
OKLCHoklch(60.63% 0.215 290.8)
XYZxyz(30.7138, 19.9881, 89.4107)
Luminance0.1999 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875FF6 #CEF65F
analogous
#5F83F6 #875FF6 #D35FF6
triadic
#875FF6 #F6875F #5FF687
tetradic
#875FF6 #F65F83 #CEF65F #5FF6D3
square
#875FF6 #F65F83 #CEF65F #5FF6D3
split-complementary
#875FF6 #F6D35F #83F65F
monochromatic
#3F0CCF #5C25F3 #875FF6 #B299F9 #DED3FD

Accessibility & contrast

On white

4.20
#875FF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#875FF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875FF6
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875FF6#FFFFFF#000000##000000
##875FF61.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFB
Deuteranopia (green-blind)
#0078F3
Tritanopia (blue-blind)
#6582A2
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #875ff6;
/* rgb */ color: rgb(135, 95, 246);
/* oklch */ color: oklch(60.6% 0.215 290.8);
Tailwind
colors: {
  custom: {
    50: '#b18efa',
    500: '#875ff6',
    950: '#000000',
  },
}
SCSS
$custom: #875ff6;
$custom-light: #b18efa;
$custom-dark: #000000;
JSON
{
  "hex": "#875ff6",
  "rgb": {
    "r": 135,
    "g": 95,
    "b": 246
  },
  "hsl": {
    "h": 255.894,
    "s": 89.349,
    "l": 66.863
  },
  "oklch": {
    "l": 0.60631,
    "c": 0.21503,
    "h": 290.8
  },
  "luminance": 0.19989
}

Semantic roles & 50–950 ramp

primary
#875FF6
secondary
#E4F1C0
accent
#E600A9
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #875FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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