#875BDA#875BDA

#875BDA is a mid, vivid violet. Relative luminance 0.177; OKLCH L 58.1% C 0.187 H 296.1°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#875BDA
RGBrgb(135, 91, 218)
HSLhsl(261, 63%, 61%)
HSVhsv(261, 58%, 85%)
CMYKcmyk(38.1%, 58.3%, 0%, 14.5%)
CIE-LABlab(49.12, 45.46, -58.96)
CIE-LCHlch(49.12, 74.45, 307.64°)
OKLaboklab(58.07% 0.0819 -0.1676)
OKLCHoklch(58.07% 0.187 296.1)
XYZxyz(26.3844, 17.6945, 68.3414)
Luminance0.1769 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875BDA #AEDA5B
analogous
#5B6FDA #875BDA #C65BDA
triadic
#875BDA #DA875B #5BDA87
tetradic
#875BDA #DA5B6F #AEDA5B #5BDAC6
square
#875BDA #DA5B6F #AEDA5B #5BDAC6
split-complementary
#875BDA #DAC65B #6FDA5B
monochromatic
#4B2298 #642ECA #875BDA #AC8DE5 #D0BFF1

Accessibility & contrast

On white

4.63
#875BDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#875BDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #875BDA
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875BDA#FFFFFF#000000##FFFFFF
##875BDA1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B76DE
Deuteranopia (green-blind)
#2673D7
Tritanopia (blue-blind)
#737692
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #875bda;
/* rgb */ color: rgb(135, 91, 218);
/* oklch */ color: oklch(58.1% 0.187 296.1);
Tailwind
colors: {
  custom: {
    50: '#af8be6',
    500: '#875bda',
    950: '#000000',
  },
}
SCSS
$custom: #875bda;
$custom-light: #af8be6;
$custom-dark: #000000;
JSON
{
  "hex": "#875bda",
  "rgb": {
    "r": 135,
    "g": 91,
    "b": 218
  },
  "hsl": {
    "h": 260.787,
    "s": 63.184,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58065,
    "c": 0.18652,
    "h": 296.1
  },
  "luminance": 0.17695
}

Semantic roles & 50–950 ramp

primary
#875BDA
secondary
#D0E1B0
accent
#CB1B8E
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #875BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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