#875CF7#875CF7

#875CF7 is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.3% C 0.220 H 291.1°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#875CF7
RGBrgb(135, 92, 247)
HSLhsl(257, 91%, 66%)
HSVhsv(257, 63%, 97%)
CMYKcmyk(45.3%, 62.8%, 0%, 3.1%)
CIE-LABlab(51.29, 52.66, -71.77)
CIE-LCHlch(51.29, 89.02, 306.27°)
OKLaboklab(60.27% 0.0792 -0.2053)
OKLCHoklch(60.27% 0.22 291.1)
XYZxyz(30.6026, 19.5195, 90.1329)
Luminance0.1952 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875CF7 #CCF75C
analogous
#5C7FF7 #875CF7 #D45CF7
triadic
#875CF7 #F7875C #5CF787
tetradic
#875CF7 #F75C7F #CCF75C #5CF7D4
square
#875CF7 #F75C7F #CCF75C #5CF7D4
split-complementary
#875CF7 #F7D45C #7FF75C
monochromatic
#410ACE #5C22F4 #875CF7 #B296FA #DDD1FD

Accessibility & contrast

On white

4.28
#875CF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#875CF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875CF7
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875CF7#FFFFFF#000000##000000
##875CF71.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFC
Deuteranopia (green-blind)
#0077F4
Tritanopia (blue-blind)
#6581A1
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #875cf7;
/* rgb */ color: rgb(135, 92, 247);
/* oklch */ color: oklch(60.3% 0.220 291.1);
Tailwind
colors: {
  custom: {
    50: '#b28cfb',
    500: '#875cf7',
    950: '#000000',
  },
}
SCSS
$custom: #875cf7;
$custom-light: #b28cfb;
$custom-dark: #000000;
JSON
{
  "hex": "#875cf7",
  "rgb": {
    "r": 135,
    "g": 92,
    "b": 247
  },
  "hsl": {
    "h": 256.645,
    "s": 90.643,
    "l": 66.471
  },
  "oklch": {
    "l": 0.60265,
    "c": 0.22002,
    "h": 291.1
  },
  "luminance": 0.19521
}

Semantic roles & 50–950 ramp

primary
#875CF7
secondary
#E3F1BE
accent
#E600A6
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #875CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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