#875EF2#875EF2

#875EF2 is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.2% C 0.212 H 291.5°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#875EF2
RGBrgb(135, 94, 242)
HSLhsl(257, 85%, 66%)
HSVhsv(257, 61%, 95%)
CMYKcmyk(44.2%, 61.2%, 0%, 5.1%)
CIE-LABlab(51.34, 50.22, -68.90)
CIE-LCHlch(51.34, 85.26, 306.09°)
OKLaboklab(60.19% 0.0775 -0.1968)
OKLCHoklch(60.19% 0.212 291.5)
XYZxyz(30.0169, 19.5661, 86.1823)
Luminance0.1957 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875EF2 #C9F25E
analogous
#5E7FF2 #875EF2 #D15EF2
triadic
#875EF2 #F2875E #5EF287
tetradic
#875EF2 #F25E7F #C9F25E #5EF2D1
square
#875EF2 #F25E7F #C9F25E #5EF2D1
split-complementary
#875EF2 #F2D15E #7FF25E
monochromatic
#4210C6 #5D25ED #875EF2 #B197F7 #DBCFFB

Accessibility & contrast

On white

4.27
#875EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#875EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875EF2
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875EF2#FFFFFF#000000##000000
##875EF21.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF7
Deuteranopia (green-blind)
#0077EF
Tritanopia (blue-blind)
#67809F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #875ef2;
/* rgb */ color: rgb(135, 94, 242);
/* oklch */ color: oklch(60.2% 0.212 291.5);
Tailwind
colors: {
  custom: {
    50: '#b18df7',
    500: '#875ef2',
    950: '#000000',
  },
}
SCSS
$custom: #875ef2;
$custom-light: #b18df7;
$custom-dark: #000000;
JSON
{
  "hex": "#875ef2",
  "rgb": {
    "r": 135,
    "g": 94,
    "b": 242
  },
  "hsl": {
    "h": 256.622,
    "s": 85.057,
    "l": 65.882
  },
  "oklch": {
    "l": 0.60193,
    "c": 0.21152,
    "h": 291.5
  },
  "luminance": 0.19567
}

Semantic roles & 50–950 ramp

primary
#875EF2
secondary
#E1EEBD
accent
#E204A4
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #875EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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