#875BCB#875BCB

#875BCB is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.1% C 0.168 H 299.1°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#875BCB
RGBrgb(135, 91, 203)
HSLhsl(264, 52%, 58%)
HSVhsv(264, 55%, 80%)
CMYKcmyk(33.5%, 55.2%, 0%, 20.4%)
CIE-LABlab(48.19, 41.57, -51.89)
CIE-LCHlch(48.19, 66.49, 308.70°)
OKLaboklab(57.08% 0.0818 -0.1468)
OKLCHoklch(57.08% 0.168 299.1)
XYZxyz(24.5096, 16.9446, 58.4677)
Luminance0.1694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875BCB #9FCB5B
analogous
#5B67CB #875BCB #BF5BCB
triadic
#875BCB #CB875B #5BCB87
tetradic
#875BCB #CB5B67 #9FCB5B #5BCBBF
square
#875BCB #CB5B67 #9FCB5B #5BCBBF
split-complementary
#875BCB #CBBF5B #67CB5B
monochromatic
#4C2982 #6738B1 #875BCB #A989DA #CBB8E8

Accessibility & contrast

On white

4.78
#875BCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#875BCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875BCB
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875BCB#FFFFFF#000000##FFFFFF
##875BCB1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B72CF
Deuteranopia (green-blind)
#3A71C8
Tritanopia (blue-blind)
#78718A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #875bcb;
/* rgb */ color: rgb(135, 91, 203);
/* oklch */ color: oklch(57.1% 0.168 299.1);
Tailwind
colors: {
  custom: {
    50: '#ae8bdb',
    500: '#875bcb',
    950: '#000000',
  },
}
SCSS
$custom: #875bcb;
$custom-light: #ae8bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#875bcb",
  "rgb": {
    "r": 135,
    "g": 91,
    "b": 203
  },
  "hsl": {
    "h": 263.571,
    "s": 51.852,
    "l": 57.647
  },
  "oklch": {
    "l": 0.5708,
    "c": 0.16808,
    "h": 299.1
  },
  "luminance": 0.16945
}

Semantic roles & 50–950 ramp

primary
#875BCB
secondary
#C6D7AA
accent
#DB4CA3
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #875BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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