#875DF1#875DF1

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

Color values

HEX#875DF1
RGBrgb(135, 93, 241)
HSLhsl(257, 84%, 65%)
HSVhsv(257, 61%, 95%)
CMYKcmyk(44%, 61.4%, 0%, 5.5%)
CIE-LABlab(51.07, 50.50, -68.78)
CIE-LCHlch(51.07, 85.33, 306.29°)
OKLaboklab(59.97% 0.0787 -0.1965)
OKLCHoklch(59.97% 0.212 291.8)
XYZxyz(29.7788, 19.3295, 85.3640)
Luminance0.1933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875DF1 #C7F15D
analogous
#5D7DF1 #875DF1 #D15DF1
triadic
#875DF1 #F1875D #5DF187
tetradic
#875DF1 #F15D7D #C7F15D #5DF1D1
square
#875DF1 #F15D7D #C7F15D #5DF1D1
split-complementary
#875DF1 #F1D15D #7DF15D
monochromatic
#4311C3 #5D25EC #875DF1 #B195F6 #DACEFB

Accessibility & contrast

On white

4.32
#875DF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##875DF1#FFFFFF#000000##000000
##875DF11.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF6
Deuteranopia (green-blind)
#0077EE
Tritanopia (blue-blind)
#687F9E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #875df1;
/* rgb */ color: rgb(135, 93, 241);
/* oklch */ color: oklch(60.0% 0.212 291.8);
Tailwind
colors: {
  custom: {
    50: '#b18df7',
    500: '#875df1',
    950: '#000000',
  },
}
SCSS
$custom: #875df1;
$custom-light: #b18df7;
$custom-dark: #000000;
JSON
{
  "hex": "#875df1",
  "rgb": {
    "r": 135,
    "g": 93,
    "b": 241
  },
  "hsl": {
    "h": 257.027,
    "s": 84.091,
    "l": 65.49
  },
  "oklch": {
    "l": 0.59973,
    "c": 0.21162,
    "h": 291.8
  },
  "luminance": 0.1933
}

Semantic roles & 50–950 ramp

primary
#875DF1
secondary
#E0EEBC
accent
#E105A2
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #875DF1

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

Preview Lab → · Contrast checker → · Palette generator →

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