#875FCA#875FCA

#875FCA is a mid, vivid violet. Relative luminance 0.176; OKLCH L 57.7% C 0.161 H 298.5°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#875FCA
RGBrgb(135, 95, 202)
HSLhsl(262, 50%, 58%)
HSVhsv(262, 53%, 79%)
CMYKcmyk(33.2%, 53%, 0%, 20.8%)
CIE-LABlab(49.01, 39.05, -50.01)
CIE-LCHlch(49.01, 63.45, 307.99°)
OKLaboklab(57.66% 0.0767 -0.1413)
OKLCHoklch(57.66% 0.161 298.5)
XYZxyz(24.7420, 17.5993, 57.9592)
Luminance0.1760 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875FCA #A2CA5F
analogous
#5F6CCA #875FCA #BC5FCA
triadic
#875FCA #CA875F #5FCA87
tetradic
#875FCA #CA5F6C #A2CA5F #5FCABC
square
#875FCA #CA5F6C #A2CA5F #5FCABC
split-complementary
#875FCA #CABC5F #6CCA5F
monochromatic
#4C2B83 #673BB1 #875FCA #A98DD9 #CCBBE8

Accessibility & contrast

On white

4.65
#875FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#875FCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #875FCA
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875FCA#FFFFFF#000000##FFFFFF
##875FCA1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3675CE
Deuteranopia (green-blind)
#4173C7
Tritanopia (blue-blind)
#79748B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #875fca;
/* rgb */ color: rgb(135, 95, 202);
/* oklch */ color: oklch(57.7% 0.161 298.5);
Tailwind
colors: {
  custom: {
    50: '#ad8ddb',
    500: '#875fca',
    950: '#000000',
  },
}
SCSS
$custom: #875fca;
$custom-light: #ad8ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#875fca",
  "rgb": {
    "r": 135,
    "g": 95,
    "b": 202
  },
  "hsl": {
    "h": 262.43,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.57664,
    "c": 0.16076,
    "h": 298.5
  },
  "luminance": 0.176
}

Semantic roles & 50–950 ramp

primary
#875FCA
secondary
#C8D8AD
accent
#DA4EA6
background
#FAF8FD
surface
#F5F0FB
border
#CFCBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #875FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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