#875BEF#875BEF

#875BEF is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.5% C 0.212 H 292.5°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#875BEF
RGBrgb(135, 91, 239)
HSLhsl(258, 82%, 65%)
HSVhsv(258, 62%, 94%)
CMYKcmyk(43.5%, 61.9%, 0%, 6.3%)
CIE-LABlab(50.53, 51.04, -68.54)
CIE-LCHlch(50.53, 85.45, 306.67°)
OKLaboklab(59.54% 0.0809 -0.1957)
OKLCHoklch(59.54% 0.212 292.5)
XYZxyz(29.3085, 18.8642, 83.7416)
Luminance0.1887 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875BEF #C3EF5B
analogous
#5B79EF #875BEF #D15BEF
triadic
#875BEF #EF875B #5BEF87
tetradic
#875BEF #EF5B79 #C3EF5B #5BEFD1
square
#875BEF #EF5B79 #C3EF5B #5BEFD1
split-complementary
#875BEF #EFD15B #79EF5B
monochromatic
#4512BD #5E23EA #875BEF #B093F4 #D9CBFA

Accessibility & contrast

On white

4.40
#875BEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#875BEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875BEF
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875BEF#FFFFFF#000000##000000
##875BEF1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF4
Deuteranopia (green-blind)
#0075EC
Tritanopia (blue-blind)
#697D9D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #875bef;
/* rgb */ color: rgb(135, 91, 239);
/* oklch */ color: oklch(59.5% 0.212 292.5);
Tailwind
colors: {
  custom: {
    50: '#b18bf5',
    500: '#875bef',
    950: '#000000',
  },
}
SCSS
$custom: #875bef;
$custom-light: #b18bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#875bef",
  "rgb": {
    "r": 135,
    "g": 91,
    "b": 239
  },
  "hsl": {
    "h": 257.838,
    "s": 82.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.59535,
    "c": 0.21182,
    "h": 292.5
  },
  "luminance": 0.18865
}

Semantic roles & 50–950 ramp

primary
#875BEF
secondary
#DDECBA
accent
#DF079E
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #875BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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