#875DD3#875DD3

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

Color values

HEX#875DD3
RGBrgb(135, 93, 211)
HSLhsl(261, 57%, 60%)
HSVhsv(261, 56%, 83%)
CMYKcmyk(36%, 55.9%, 0%, 17.3%)
CIE-LABlab(49.11, 42.52, -55.00)
CIE-LCHlch(49.11, 69.51, 307.71°)
OKLaboklab(57.91% 0.0795 -0.1559)
OKLCHoklch(57.91% 0.175 297)
XYZxyz(25.6609, 17.6824, 63.6765)
Luminance0.1768 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875DD3 #A9D35D
analogous
#5D6ED3 #875DD3 #C25DD3
triadic
#875DD3 #D3875D #5DD387
tetradic
#875DD3 #D35D6E #A9D35D #5DD3C2
square
#875DD3 #D35D6E #A9D35D #5DD3C2
split-complementary
#875DD3 #D3C25D #6ED35D
monochromatic
#4C278F #6534BF #875DD3 #AB8DE0 #CEBDED

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##875DD3#FFFFFF#000000##FFFFFF
##875DD31.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)
#2575D7
Deuteranopia (green-blind)
#3473D0
Tritanopia (blue-blind)
#75758F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #875dd3;
/* rgb */ color: rgb(135, 93, 211);
/* oklch */ color: oklch(57.9% 0.175 297.0);
Tailwind
colors: {
  custom: {
    50: '#ae8ce1',
    500: '#875dd3',
    950: '#000000',
  },
}
SCSS
$custom: #875dd3;
$custom-light: #ae8ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#875dd3",
  "rgb": {
    "r": 135,
    "g": 93,
    "b": 211
  },
  "hsl": {
    "h": 261.356,
    "s": 57.282,
    "l": 59.608
  },
  "oklch": {
    "l": 0.57913,
    "c": 0.17504,
    "h": 297
  },
  "luminance": 0.17683
}

Semantic roles & 50–950 ramp

primary
#875DD3
secondary
#CCDDAF
accent
#E147AA
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #875DD3

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

Preview Lab → · Contrast checker → · Palette generator →

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