#875FF0#875FF0

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

Color values

HEX#875FF0
RGBrgb(135, 95, 240)
HSLhsl(257, 83%, 66%)
HSVhsv(257, 60%, 94%)
CMYKcmyk(43.8%, 60.4%, 0%, 5.9%)
CIE-LABlab(51.41, 49.14, -67.67)
CIE-LCHlch(51.41, 83.63, 305.99°)
OKLaboklab(60.2% 0.0766 -0.1932)
OKLCHoklch(60.2% 0.208 291.6)
XYZxyz(29.8077, 19.6256, 84.6388)
Luminance0.1963 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875FF0 #C8F05F
analogous
#5F7FF0 #875FF0 #D05FF0
triadic
#875FF0 #F0875F #5FF087
tetradic
#875FF0 #F05F7F #C8F05F #5FF0D0
square
#875FF0 #F05F7F #C8F05F #5FF0D0
split-complementary
#875FF0 #F0D05F #7FF05F
monochromatic
#4312C2 #5D27EB #875FF0 #B197F5 #DBCFFA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##875FF0#FFFFFF#000000##000000
##875FF01.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)
#007DF5
Deuteranopia (green-blind)
#0077ED
Tritanopia (blue-blind)
#68809F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #875ff0;
/* rgb */ color: rgb(135, 95, 240);
/* oklch */ color: oklch(60.2% 0.208 291.6);
Tailwind
colors: {
  custom: {
    50: '#b18ef6',
    500: '#875ff0',
    950: '#000000',
  },
}
SCSS
$custom: #875ff0;
$custom-light: #b18ef6;
$custom-dark: #000000;
JSON
{
  "hex": "#875ff0",
  "rgb": {
    "r": 135,
    "g": 95,
    "b": 240
  },
  "hsl": {
    "h": 256.552,
    "s": 82.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.602,
    "c": 0.20781,
    "h": 291.6
  },
  "luminance": 0.19627
}

Semantic roles & 50–950 ramp

primary
#875FF0
secondary
#E0EEBD
accent
#DF06A3
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #875FF0

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

Preview Lab → · Contrast checker → · Palette generator →

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