#875FE2#875FE2

#875FE2 is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.2% C 0.191 H 293.8°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#875FE2
RGBrgb(135, 95, 226)
HSLhsl(258, 69%, 63%)
HSVhsv(258, 58%, 89%)
CMYKcmyk(40.3%, 58%, 0%, 11.4%)
CIE-LABlab(50.48, 45.37, -61.30)
CIE-LCHlch(50.48, 76.26, 306.50°)
OKLaboklab(59.23% 0.0771 -0.1745)
OKLCHoklch(59.23% 0.191 293.8)
XYZxyz(27.8077, 18.8256, 74.1054)
Luminance0.1883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875FE2 #BAE25F
analogous
#5F78E2 #875FE2 #C95FE2
triadic
#875FE2 #E2875F #5FE287
tetradic
#875FE2 #E25F78 #BAE25F #5FE2C9
square
#875FE2 #E25F78 #BAE25F #5FE2C9
split-complementary
#875FE2 #E2C95F #78E25F
monochromatic
#491EA8 #602BD9 #875FE2 #AE93EB #D5C7F5

Accessibility & contrast

On white

4.41
#875FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#875FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875FE2
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875FE2#FFFFFF#000000##000000
##875FE21.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#057AE6
Deuteranopia (green-blind)
#2076DF
Tritanopia (blue-blind)
#6F7B97
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #875fe2;
/* rgb */ color: rgb(135, 95, 226);
/* oklch */ color: oklch(59.2% 0.191 293.8);
Tailwind
colors: {
  custom: {
    50: '#af8eec',
    500: '#875fe2',
    950: '#000000',
  },
}
SCSS
$custom: #875fe2;
$custom-light: #af8eec;
$custom-dark: #000000;
JSON
{
  "hex": "#875fe2",
  "rgb": {
    "r": 135,
    "g": 95,
    "b": 226
  },
  "hsl": {
    "h": 258.321,
    "s": 69.312,
    "l": 62.941
  },
  "oklch": {
    "l": 0.59225,
    "c": 0.19074,
    "h": 293.8
  },
  "luminance": 0.18826
}

Semantic roles & 50–950 ramp

primary
#875FE2
secondary
#D8E6B7
accent
#D11498
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #875FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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