#875FE3#875FE3

#875FE3 is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.3% C 0.192 H 293.7°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#875FE3
RGBrgb(135, 95, 227)
HSLhsl(258, 70%, 63%)
HSVhsv(258, 58%, 89%)
CMYKcmyk(40.5%, 58.1%, 0%, 11%)
CIE-LABlab(50.55, 45.63, -61.76)
CIE-LCHlch(50.55, 76.79, 306.46°)
OKLaboklab(59.29% 0.0771 -0.1758)
OKLCHoklch(59.29% 0.192 293.7)
XYZxyz(27.9453, 18.8807, 74.8301)
Luminance0.1888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875FE3 #BBE35F
analogous
#5F79E3 #875FE3 #C95FE3
triadic
#875FE3 #E3875F #5FE387
tetradic
#875FE3 #E35F79 #BBE35F #5FE3C9
square
#875FE3 #E35F79 #BBE35F #5FE3C9
split-complementary
#875FE3 #E3C95F #79E35F
monochromatic
#481EAA #602BDA #875FE3 #AE93EC #D5C7F5

Accessibility & contrast

On white

4.40
#875FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#875FE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875FE3
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875FE3#FFFFFF#000000##000000
##875FE31.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AE7
Deuteranopia (green-blind)
#1D76E0
Tritanopia (blue-blind)
#6F7C98
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #875fe3;
/* rgb */ color: rgb(135, 95, 227);
/* oklch */ color: oklch(59.3% 0.192 293.7);
Tailwind
colors: {
  custom: {
    50: '#af8eed',
    500: '#875fe3',
    950: '#000000',
  },
}
SCSS
$custom: #875fe3;
$custom-light: #af8eed;
$custom-dark: #000000;
JSON
{
  "hex": "#875fe3",
  "rgb": {
    "r": 135,
    "g": 95,
    "b": 227
  },
  "hsl": {
    "h": 258.182,
    "s": 70.213,
    "l": 63.137
  },
  "oklch": {
    "l": 0.59294,
    "c": 0.19197,
    "h": 293.7
  },
  "luminance": 0.18881
}

Semantic roles & 50–950 ramp

primary
#875FE3
secondary
#D8E7B7
accent
#D21398
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #875FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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