#875FF2#875FF2

#875FF2 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.3% C 0.210 H 291.3°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#875FF2
RGBrgb(135, 95, 242)
HSLhsl(256, 85%, 66%)
HSVhsv(256, 61%, 95%)
CMYKcmyk(44.2%, 60.7%, 0%, 5.1%)
CIE-LABlab(51.55, 49.68, -68.56)
CIE-LCHlch(51.55, 84.67, 305.93°)
OKLaboklab(60.34% 0.0765 -0.1958)
OKLCHoklch(60.34% 0.21 291.3)
XYZxyz(30.1064, 19.7451, 86.2121)
Luminance0.1975 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875FF2 #CAF25F
analogous
#5F80F2 #875FF2 #D15FF2
triadic
#875FF2 #F2875F #5FF287
tetradic
#875FF2 #F25F80 #CAF25F #5FF2D1
square
#875FF2 #F25F80 #CAF25F #5FF2D1
split-complementary
#875FF2 #F2D15F #80F25F
monochromatic
#4210C6 #5D26ED #875FF2 #B198F7 #DCD0FB

Accessibility & contrast

On white

4.24
#875FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#875FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875FF2
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875FF2#FFFFFF#000000##000000
##875FF21.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #875ff2;
/* rgb */ color: rgb(135, 95, 242);
/* oklch */ color: oklch(60.3% 0.210 291.3);
Tailwind
colors: {
  custom: {
    50: '#b18ef7',
    500: '#875ff2',
    950: '#000000',
  },
}
SCSS
$custom: #875ff2;
$custom-light: #b18ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#875ff2",
  "rgb": {
    "r": 135,
    "g": 95,
    "b": 242
  },
  "hsl": {
    "h": 256.327,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.60343,
    "c": 0.21023,
    "h": 291.3
  },
  "luminance": 0.19746
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #875FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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