#875AC7#875AC7

#875AC7 is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.7% C 0.165 H 300.3°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#875AC7
RGBrgb(135, 90, 199)
HSLhsl(265, 49%, 57%)
HSVhsv(265, 55%, 78%)
CMYKcmyk(32.2%, 54.8%, 0%, 22%)
CIE-LABlab(47.73, 41.11, -50.32)
CIE-LCHlch(47.73, 64.97, 309.25°)
OKLaboklab(56.67% 0.083 -0.1422)
OKLCHoklch(56.67% 0.165 300.3)
XYZxyz(23.9542, 16.5866, 55.9613)
Luminance0.1659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875AC7 #9AC75A
analogous
#5A64C7 #875AC7 #BE5AC7
triadic
#875AC7 #C7875A #5AC787
tetradic
#875AC7 #C75A64 #9AC75A #5AC7BE
square
#875AC7 #C75A64 #9AC75A #5AC7BE
split-complementary
#875AC7 #C7BE5A #64C75A
monochromatic
#4C2A7C #683AAA #875AC7 #A888D7 #C9B5E6

Accessibility & contrast

On white

4.86
#875AC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#875AC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #875AC7
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875AC7#FFFFFF#000000##FFFFFF
##875AC71.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E71CB
Deuteranopia (green-blind)
#3D71C4
Tritanopia (blue-blind)
#7A6F88
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #875ac7;
/* rgb */ color: rgb(135, 90, 199);
/* oklch */ color: oklch(56.7% 0.165 300.3);
Tailwind
colors: {
  custom: {
    50: '#ad8ad8',
    500: '#875ac7',
    950: '#000000',
  },
}
SCSS
$custom: #875ac7;
$custom-light: #ad8ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#875ac7",
  "rgb": {
    "r": 135,
    "g": 90,
    "b": 199
  },
  "hsl": {
    "h": 264.771,
    "s": 49.321,
    "l": 56.667
  },
  "oklch": {
    "l": 0.56667,
    "c": 0.16464,
    "h": 300.3
  },
  "luminance": 0.16587
}

Semantic roles & 50–950 ramp

primary
#875AC7
secondary
#C2D5A8
accent
#D94FA0
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C15
muted
#807D83

Preview Lab

Preview with #875AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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