#875FEF#875FEF

#875FEF is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.1% C 0.207 H 291.8°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#875FEF
RGBrgb(135, 95, 239)
HSLhsl(257, 82%, 65%)
HSVhsv(257, 60%, 94%)
CMYKcmyk(43.5%, 60.3%, 0%, 6.3%)
CIE-LABlab(51.34, 48.87, -67.22)
CIE-LCHlch(51.34, 83.10, 306.02°)
OKLaboklab(60.13% 0.0767 -0.1919)
OKLCHoklch(60.13% 0.207 291.8)
XYZxyz(29.6596, 19.5664, 83.8586)
Luminance0.1957 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875FEF #C7EF5F
analogous
#5F7FEF #875FEF #CF5FEF
triadic
#875FEF #EF875F #5FEF87
tetradic
#875FEF #EF5F7F #C7EF5F #5FEFCF
square
#875FEF #EF5F7F #C7EF5F #5FEFCF
split-complementary
#875FEF #EFCF5F #7FEF5F
monochromatic
#4313C0 #5D27E9 #875FEF #B197F5 #DACEFA

Accessibility & contrast

On white

4.27
#875FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#875FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875FEF
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875FEF#FFFFFF#000000##000000
##875FEF1.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF4
Deuteranopia (green-blind)
#0077EC
Tritanopia (blue-blind)
#69809E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #875fef;
/* rgb */ color: rgb(135, 95, 239);
/* oklch */ color: oklch(60.1% 0.207 291.8);
Tailwind
colors: {
  custom: {
    50: '#b18ef5',
    500: '#875fef',
    950: '#000000',
  },
}
SCSS
$custom: #875fef;
$custom-light: #b18ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#875fef",
  "rgb": {
    "r": 135,
    "g": 95,
    "b": 239
  },
  "hsl": {
    "h": 256.667,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.60129,
    "c": 0.2066,
    "h": 291.8
  },
  "luminance": 0.19567
}

Semantic roles & 50–950 ramp

primary
#875FEF
secondary
#E0EDBD
accent
#DE07A3
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #875FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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