#875FEB#875FEB

#875FEB is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 59.8% C 0.202 H 292.4°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#875FEB
RGBrgb(135, 95, 235)
HSLhsl(257, 78%, 65%)
HSVhsv(257, 60%, 92%)
CMYKcmyk(42.6%, 59.6%, 0%, 7.8%)
CIE-LABlab(51.07, 47.79, -65.41)
CIE-LCHlch(51.07, 81.01, 306.15°)
OKLaboklab(59.85% 0.0768 -0.1865)
OKLCHoklch(59.85% 0.202 292.4)
XYZxyz(29.0752, 19.3326, 80.7808)
Luminance0.1933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875FEB #C3EB5F
analogous
#5F7DEB #875FEB #CD5FEB
triadic
#875FEB #EB875F #5FEB87
tetradic
#875FEB #EB5F7D #C3EB5F #5FEBCD
square
#875FEB #EB5F7D #C3EB5F #5FEBCD
split-complementary
#875FEB #EBCD5F #7DEB5F
monochromatic
#4517B9 #5E29E4 #875FEB #B095F2 #D9CCF9

Accessibility & contrast

On white

4.32
#875FEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#875FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875FEB
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875FEB#FFFFFF#000000##000000
##875FEB1.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF0
Deuteranopia (green-blind)
#0077E8
Tritanopia (blue-blind)
#6B7E9C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #875feb;
/* rgb */ color: rgb(135, 95, 235);
/* oklch */ color: oklch(59.8% 0.202 292.4);
Tailwind
colors: {
  custom: {
    50: '#b08ef2',
    500: '#875feb',
    950: '#000000',
  },
}
SCSS
$custom: #875feb;
$custom-light: #b08ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#875feb",
  "rgb": {
    "r": 135,
    "g": 95,
    "b": 235
  },
  "hsl": {
    "h": 257.143,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.59847,
    "c": 0.20176,
    "h": 292.4
  },
  "luminance": 0.19333
}

Semantic roles & 50–950 ramp

primary
#875FEB
secondary
#DDEBBB
accent
#DA0B9F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #875FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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