#875DF2#875DF2

#875DF2 is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.0% C 0.213 H 291.7°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#875DF2
RGBrgb(135, 93, 242)
HSLhsl(257, 85%, 66%)
HSVhsv(257, 62%, 95%)
CMYKcmyk(44.2%, 61.6%, 0%, 5.1%)
CIE-LABlab(51.14, 50.77, -69.23)
CIE-LCHlch(51.14, 85.85, 306.25°)
OKLaboklab(60.05% 0.0786 -0.1978)
OKLCHoklch(60.05% 0.213 291.7)
XYZxyz(29.9286, 19.3894, 86.1528)
Luminance0.1939 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875DF2 #C8F25D
analogous
#5D7DF2 #875DF2 #D25DF2
triadic
#875DF2 #F2875D #5DF287
tetradic
#875DF2 #F25D7D #C8F25D #5DF2D2
square
#875DF2 #F25D7D #C8F25D #5DF2D2
split-complementary
#875DF2 #F2D25D #7DF25D
monochromatic
#4310C5 #5D24ED #875DF2 #B196F7 #DBCEFB

Accessibility & contrast

On white

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

On black

4.88
#875DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875DF2
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875DF2#FFFFFF#000000##000000
##875DF21.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF7
Deuteranopia (green-blind)
#0077EF
Tritanopia (blue-blind)
#687F9F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #875df2;
/* rgb */ color: rgb(135, 93, 242);
/* oklch */ color: oklch(60.0% 0.213 291.7);
Tailwind
colors: {
  custom: {
    50: '#b18df7',
    500: '#875df2',
    950: '#000000',
  },
}
SCSS
$custom: #875df2;
$custom-light: #b18df7;
$custom-dark: #000000;
JSON
{
  "hex": "#875df2",
  "rgb": {
    "r": 135,
    "g": 93,
    "b": 242
  },
  "hsl": {
    "h": 256.913,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.60046,
    "c": 0.21282,
    "h": 291.7
  },
  "luminance": 0.1939
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #875DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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