#875FF3#875FF3

#875FF3 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.4% C 0.211 H 291.2°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#875FF3
RGBrgb(135, 95, 243)
HSLhsl(256, 86%, 66%)
HSVhsv(256, 61%, 95%)
CMYKcmyk(44.4%, 60.9%, 0%, 4.7%)
CIE-LABlab(51.62, 49.95, -69.01)
CIE-LCHlch(51.62, 85.19, 305.90°)
OKLaboklab(60.41% 0.0764 -0.1971)
OKLCHoklch(60.41% 0.211 291.2)
XYZxyz(30.2570, 19.8054, 87.0052)
Luminance0.1981 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875FF3 #CBF35F
analogous
#5F81F3 #875FF3 #D15FF3
triadic
#875FF3 #F3875F #5FF387
tetradic
#875FF3 #F35F81 #CBF35F #5FF3D1
square
#875FF3 #F35F81 #CBF35F #5FF3D1
split-complementary
#875FF3 #F3D15F #81F35F
monochromatic
#410FC9 #5C26EF #875FF3 #B298F7 #DCD1FC

Accessibility & contrast

On white

4.23
#875FF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#875FF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875FF3
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875FF3#FFFFFF#000000##000000
##875FF31.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF8
Deuteranopia (green-blind)
#0078F0
Tritanopia (blue-blind)
#6781A0
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #875ff3;
/* rgb */ color: rgb(135, 95, 243);
/* oklch */ color: oklch(60.4% 0.211 291.2);
Tailwind
colors: {
  custom: {
    50: '#b18ef8',
    500: '#875ff3',
    950: '#000000',
  },
}
SCSS
$custom: #875ff3;
$custom-light: #b18ef8;
$custom-dark: #000000;
JSON
{
  "hex": "#875ff3",
  "rgb": {
    "r": 135,
    "g": 95,
    "b": 243
  },
  "hsl": {
    "h": 256.216,
    "s": 86.047,
    "l": 66.275
  },
  "oklch": {
    "l": 0.60414,
    "c": 0.21143,
    "h": 291.2
  },
  "luminance": 0.19806
}

Semantic roles & 50–950 ramp

primary
#875FF3
secondary
#E2EFBF
accent
#E303A6
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #875FF3

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

Preview Lab → · Contrast checker → · Palette generator →

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