#875BE3#875BE3

#875BE3 is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.7% C 0.197 H 294.4°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#875BE3
RGBrgb(135, 91, 227)
HSLhsl(259, 71%, 62%)
HSVhsv(259, 60%, 89%)
CMYKcmyk(40.5%, 59.9%, 0%, 11%)
CIE-LABlab(49.71, 47.84, -63.11)
CIE-LCHlch(49.71, 79.19, 307.16°)
OKLaboklab(58.68% 0.0816 -0.1798)
OKLCHoklch(58.68% 0.197 294.4)
XYZxyz(27.5942, 18.1785, 74.7131)
Luminance0.1818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875BE3 #B7E35B
analogous
#5B73E3 #875BE3 #CB5BE3
triadic
#875BE3 #E3875B #5BE387
tetradic
#875BE3 #E35B73 #B7E35B #5BE3CB
square
#875BE3 #E35B73 #B7E35B #5BE3CB
split-complementary
#875BE3 #E3CB5B #73E35B
monochromatic
#491DA7 #6127DA #875BE3 #AD8FEC #D4C4F5

Accessibility & contrast

On white

4.53
#875BE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#875BE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875BE3
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875BE3#FFFFFF#000000##000000
##875BE31.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E7
Deuteranopia (green-blind)
#0D74E0
Tritanopia (blue-blind)
#6F7996
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #875be3;
/* rgb */ color: rgb(135, 91, 227);
/* oklch */ color: oklch(58.7% 0.197 294.4);
Tailwind
colors: {
  custom: {
    50: '#b08bed',
    500: '#875be3',
    950: '#000000',
  },
}
SCSS
$custom: #875be3;
$custom-light: #b08bed;
$custom-dark: #000000;
JSON
{
  "hex": "#875be3",
  "rgb": {
    "r": 135,
    "g": 91,
    "b": 227
  },
  "hsl": {
    "h": 259.412,
    "s": 70.833,
    "l": 62.353
  },
  "oklch": {
    "l": 0.58682,
    "c": 0.19745,
    "h": 294.4
  },
  "luminance": 0.18179
}

Semantic roles & 50–950 ramp

primary
#875BE3
secondary
#D6E6B4
accent
#D31395
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #875BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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