#875CF2#875CF2

#875CF2 is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 59.9% C 0.214 H 291.8°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#875CF2
RGBrgb(135, 92, 242)
HSLhsl(257, 85%, 65%)
HSVhsv(257, 62%, 95%)
CMYKcmyk(44.2%, 62%, 0%, 5.1%)
CIE-LABlab(50.94, 51.31, -69.55)
CIE-LCHlch(50.94, 86.43, 306.41°)
OKLaboklab(59.9% 0.0797 -0.1987)
OKLCHoklch(59.9% 0.214 291.8)
XYZxyz(29.8414, 19.2150, 86.1238)
Luminance0.1922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875CF2 #C7F25C
analogous
#5C7CF2 #875CF2 #D25CF2
triadic
#875CF2 #F2875C #5CF287
tetradic
#875CF2 #F25C7C #C7F25C #5CF2D2
square
#875CF2 #F25C7C #C7F25C #5CF2D2
split-complementary
#875CF2 #F2D25C #7CF25C
monochromatic
#4310C4 #5D23ED #875CF2 #B195F7 #DACDFB

Accessibility & contrast

On white

4.34
#875CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#875CF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875CF2
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875CF2#FFFFFF#000000##000000
##875CF21.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF7
Deuteranopia (green-blind)
#0076EF
Tritanopia (blue-blind)
#687F9F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #875cf2;
/* rgb */ color: rgb(135, 92, 242);
/* oklch */ color: oklch(59.9% 0.214 291.8);
Tailwind
colors: {
  custom: {
    50: '#b18cf7',
    500: '#875cf2',
    950: '#000000',
  },
}
SCSS
$custom: #875cf2;
$custom-light: #b18cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#875cf2",
  "rgb": {
    "r": 135,
    "g": 92,
    "b": 242
  },
  "hsl": {
    "h": 257.2,
    "s": 85.227,
    "l": 65.49
  },
  "oklch": {
    "l": 0.59899,
    "c": 0.2141,
    "h": 291.8
  },
  "luminance": 0.19216
}

Semantic roles & 50–950 ramp

primary
#875CF2
secondary
#E0EEBC
accent
#E204A2
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #875CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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