#875FF1#875FF1

#875FF1 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.3% C 0.209 H 291.5°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#875FF1
RGBrgb(135, 95, 241)
HSLhsl(256, 84%, 66%)
HSVhsv(256, 61%, 95%)
CMYKcmyk(44%, 60.6%, 0%, 5.5%)
CIE-LABlab(51.48, 49.41, -68.12)
CIE-LCHlch(51.48, 84.15, 305.96°)
OKLaboklab(60.27% 0.0765 -0.1945)
OKLCHoklch(60.27% 0.209 291.5)
XYZxyz(29.9567, 19.6852, 85.4233)
Luminance0.1969 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875FF1 #C9F15F
analogous
#5F80F1 #875FF1 #D05FF1
triadic
#875FF1 #F1875F #5FF187
tetradic
#875FF1 #F15F80 #C9F15F #5FF1D0
square
#875FF1 #F15F80 #C9F15F #5FF1D0
split-complementary
#875FF1 #F1D05F #80F15F
monochromatic
#4211C4 #5D27EC #875FF1 #B197F6 #DBD0FB

Accessibility & contrast

On white

4.25
#875FF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#875FF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875FF1
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875FF1#FFFFFF#000000##000000
##875FF11.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF6
Deuteranopia (green-blind)
#0078EE
Tritanopia (blue-blind)
#68809F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #875ff1;
/* rgb */ color: rgb(135, 95, 241);
/* oklch */ color: oklch(60.3% 0.209 291.5);
Tailwind
colors: {
  custom: {
    50: '#b18ef7',
    500: '#875ff1',
    950: '#000000',
  },
}
SCSS
$custom: #875ff1;
$custom-light: #b18ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#875ff1",
  "rgb": {
    "r": 135,
    "g": 95,
    "b": 241
  },
  "hsl": {
    "h": 256.438,
    "s": 83.908,
    "l": 65.882
  },
  "oklch": {
    "l": 0.60271,
    "c": 0.20902,
    "h": 291.5
  },
  "luminance": 0.19686
}

Semantic roles & 50–950 ramp

primary
#875FF1
secondary
#E1EEBE
accent
#E005A4
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #875FF1

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

Preview Lab → · Contrast checker → · Palette generator →

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