#875CF4#875CF4

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

Color values

HEX#875CF4
RGBrgb(135, 92, 244)
HSLhsl(257, 87%, 66%)
HSVhsv(257, 62%, 96%)
CMYKcmyk(44.7%, 62.3%, 0%, 4.3%)
CIE-LABlab(51.08, 51.85, -70.44)
CIE-LCHlch(51.08, 87.47, 306.35°)
OKLaboklab(60.05% 0.0795 -0.2013)
OKLCHoklch(60.05% 0.216 291.5)
XYZxyz(30.1434, 19.3358, 87.7144)
Luminance0.1934 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875CF4 #C9F45C
analogous
#5C7DF4 #875CF4 #D35CF4
triadic
#875CF4 #F4875C #5CF487
tetradic
#875CF4 #F45C7D #C9F45C #5CF4D3
square
#875CF4 #F45C7D #C9F45C #5CF4D3
split-complementary
#875CF4 #F4D35C #7DF45C
monochromatic
#420EC8 #5D23F0 #875CF4 #B195F8 #DBCFFC

Accessibility & contrast

On white

4.31
#875CF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##875CF4#FFFFFF#000000##000000
##875CF41.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF9
Deuteranopia (green-blind)
#0076F1
Tritanopia (blue-blind)
#6680A0
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #875cf4;
/* rgb */ color: rgb(135, 92, 244);
/* oklch */ color: oklch(60.0% 0.216 291.5);
Tailwind
colors: {
  custom: {
    50: '#b18cf9',
    500: '#875cf4',
    950: '#000000',
  },
}
SCSS
$custom: #875cf4;
$custom-light: #b18cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#875cf4",
  "rgb": {
    "r": 135,
    "g": 92,
    "b": 244
  },
  "hsl": {
    "h": 256.974,
    "s": 87.356,
    "l": 65.882
  },
  "oklch": {
    "l": 0.60045,
    "c": 0.21647,
    "h": 291.5
  },
  "luminance": 0.19337
}

Semantic roles & 50–950 ramp

primary
#875CF4
secondary
#E1EFBD
accent
#E402A4
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #875CF4

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

Preview Lab → · Contrast checker → · Palette generator →

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