#875EF3#875EF3

#875EF3 is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.3% C 0.213 H 291.4°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#875EF3
RGBrgb(135, 94, 243)
HSLhsl(257, 86%, 66%)
HSVhsv(257, 61%, 95%)
CMYKcmyk(44.4%, 61.3%, 0%, 4.7%)
CIE-LABlab(51.41, 50.50, -69.34)
CIE-LCHlch(51.41, 85.78, 306.06°)
OKLaboklab(60.27% 0.0775 -0.1981)
OKLCHoklch(60.27% 0.213 291.4)
XYZxyz(30.1675, 19.6264, 86.9754)
Luminance0.1963 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875EF3 #CAF35E
analogous
#5E7FF3 #875EF3 #D15EF3
triadic
#875EF3 #F3875E #5EF387
tetradic
#875EF3 #F35E7F #CAF35E #5EF3D1
square
#875EF3 #F35E7F #CAF35E #5EF3D1
split-complementary
#875EF3 #F3D15E #7FF35E
monochromatic
#420FC8 #5D25EF #875EF3 #B197F7 #DCD0FB

Accessibility & contrast

On white

4.26
#875EF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#875EF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875EF3
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875EF3#FFFFFF#000000##000000
##875EF31.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF8
Deuteranopia (green-blind)
#0077F0
Tritanopia (blue-blind)
#6780A0
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #875ef3;
/* rgb */ color: rgb(135, 94, 243);
/* oklch */ color: oklch(60.3% 0.213 291.4);
Tailwind
colors: {
  custom: {
    50: '#b18df8',
    500: '#875ef3',
    950: '#000000',
  },
}
SCSS
$custom: #875ef3;
$custom-light: #b18df8;
$custom-dark: #000000;
JSON
{
  "hex": "#875ef3",
  "rgb": {
    "r": 135,
    "g": 94,
    "b": 243
  },
  "hsl": {
    "h": 256.51,
    "s": 86.127,
    "l": 66.078
  },
  "oklch": {
    "l": 0.60266,
    "c": 0.21272,
    "h": 291.4
  },
  "luminance": 0.19627
}

Semantic roles & 50–950 ramp

primary
#875EF3
secondary
#E1EFBE
accent
#E303A5
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #875EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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