#875CF3#875CF3

#875CF3 is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.0% C 0.215 H 291.7°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#875CF3
RGBrgb(135, 92, 243)
HSLhsl(257, 86%, 66%)
HSVhsv(257, 62%, 95%)
CMYKcmyk(44.4%, 62.1%, 0%, 4.7%)
CIE-LABlab(51.01, 51.58, -70.00)
CIE-LCHlch(51.01, 86.95, 306.38°)
OKLaboklab(59.97% 0.0796 -0.2)
OKLCHoklch(59.97% 0.215 291.7)
XYZxyz(29.9920, 19.2753, 86.9169)
Luminance0.1928 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875CF3 #C8F35C
analogous
#5C7CF3 #875CF3 #D25CF3
triadic
#875CF3 #F3875C #5CF387
tetradic
#875CF3 #F35C7C #C8F35C #5CF3D2
square
#875CF3 #F35C7C #C8F35C #5CF3D2
split-complementary
#875CF3 #F3D25C #7CF35C
monochromatic
#430FC6 #5D23EF #875CF3 #B195F7 #DBCEFB

Accessibility & contrast

On white

4.33
#875CF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#875CF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875CF3
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875CF3#FFFFFF#000000##000000
##875CF31.004.334.864.86
#FFFFFF4.331.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF8
Deuteranopia (green-blind)
#0076F0
Tritanopia (blue-blind)
#677F9F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #875cf3;
/* rgb */ color: rgb(135, 92, 243);
/* oklch */ color: oklch(60.0% 0.215 291.7);
Tailwind
colors: {
  custom: {
    50: '#b18cf8',
    500: '#875cf3',
    950: '#000000',
  },
}
SCSS
$custom: #875cf3;
$custom-light: #b18cf8;
$custom-dark: #000000;
JSON
{
  "hex": "#875cf3",
  "rgb": {
    "r": 135,
    "g": 92,
    "b": 243
  },
  "hsl": {
    "h": 257.086,
    "s": 86.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.59972,
    "c": 0.21528,
    "h": 291.7
  },
  "luminance": 0.19276
}

Semantic roles & 50–950 ramp

primary
#875CF3
secondary
#E0EFBC
accent
#E303A3
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #875CF3

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

Preview Lab → · Contrast checker → · Palette generator →

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