#875ECA#875ECA

#875ECA is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.5% C 0.162 H 298.7°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#875ECA
RGBrgb(135, 94, 202)
HSLhsl(263, 50%, 58%)
HSVhsv(263, 53%, 79%)
CMYKcmyk(33.2%, 53.5%, 0%, 20.8%)
CIE-LABlab(48.79, 39.62, -50.36)
CIE-LCHlch(48.79, 64.08, 308.19°)
OKLaboklab(57.5% 0.078 -0.1423)
OKLCHoklch(57.5% 0.162 298.7)
XYZxyz(24.6525, 17.4203, 57.9293)
Luminance0.1742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875ECA #A1CA5E
analogous
#5E6BCA #875ECA #BD5ECA
triadic
#875ECA #CA875E #5ECA87
tetradic
#875ECA #CA5E6B #A1CA5E #5ECABD
square
#875ECA #CA5E6B #A1CA5E #5ECABD
split-complementary
#875ECA #CABD5E #6BCA5E
monochromatic
#4C2B83 #673AB1 #875ECA #A98CD9 #CCBAE8

Accessibility & contrast

On white

4.68
#875ECA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#875ECA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875ECA
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875ECA#FFFFFF#000000##FFFFFF
##875ECA1.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3374CE
Deuteranopia (green-blind)
#4073C7
Tritanopia (blue-blind)
#79738B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #875eca;
/* rgb */ color: rgb(135, 94, 202);
/* oklch */ color: oklch(57.5% 0.162 298.7);
Tailwind
colors: {
  custom: {
    50: '#ad8ddb',
    500: '#875eca',
    950: '#000000',
  },
}
SCSS
$custom: #875eca;
$custom-light: #ad8ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#875eca",
  "rgb": {
    "r": 135,
    "g": 94,
    "b": 202
  },
  "hsl": {
    "h": 262.778,
    "s": 50.467,
    "l": 58.039
  },
  "oklch": {
    "l": 0.575,
    "c": 0.16229,
    "h": 298.7
  },
  "luminance": 0.17421
}

Semantic roles & 50–950 ramp

primary
#875ECA
secondary
#C7D7AC
accent
#DA4EA5
background
#FAF8FD
surface
#F5F0FB
border
#CFCBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #875ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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