#875EFE#875EFE

#875EFE is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.1% C 0.226 H 289.8°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#875EFE
RGBrgb(135, 94, 254)
HSLhsl(255, 99%, 68%)
HSVhsv(255, 63%, 100%)
CMYKcmyk(46.9%, 63%, 0%, 0.4%)
CIE-LABlab(52.19, 53.49, -74.21)
CIE-LCHlch(52.19, 91.47, 305.78°)
OKLaboklab(61.07% 0.0766 -0.2124)
OKLCHoklch(61.07% 0.226 289.8)
XYZxyz(31.8787, 20.3108, 95.9874)
Luminance0.2031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875EFE #D5FE5E
analogous
#5E85FE #875EFE #D75EFE
triadic
#875EFE #FE875E #5EFE87
tetradic
#875EFE #FE5E85 #D5FE5E #5EFED7
square
#875EFE #FE5E85 #D5FE5E #5EFED7
split-complementary
#875EFE #FED75E #85FE5E
monochromatic
#3A01E0 #5A21FE #875EFE #B49BFE #E2D8FF

Accessibility & contrast

On white

4.15
#875EFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#875EFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875EFE
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875EFE#FFFFFF#000000##000000
##875EFE1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FF
Deuteranopia (green-blind)
#0079FB
Tritanopia (blue-blind)
#6184A6
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #875efe;
/* rgb */ color: rgb(135, 94, 254);
/* oklch */ color: oklch(61.1% 0.226 289.8);
Tailwind
colors: {
  custom: {
    50: '#b28eff',
    500: '#875efe',
    950: '#000000',
  },
}
SCSS
$custom: #875efe;
$custom-light: #b28eff;
$custom-dark: #000000;
JSON
{
  "hex": "#875efe",
  "rgb": {
    "r": 135,
    "g": 94,
    "b": 254
  },
  "hsl": {
    "h": 255.375,
    "s": 98.765,
    "l": 68.235
  },
  "oklch": {
    "l": 0.61072,
    "c": 0.2258,
    "h": 289.8
  },
  "luminance": 0.20312
}

Semantic roles & 50–950 ramp

primary
#875EFE
secondary
#E8F4C4
accent
#E600AB
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #875EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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