#875EFB#875EFB

#875EFB is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 60.9% C 0.222 H 290.2°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#875EFB
RGBrgb(135, 94, 251)
HSLhsl(256, 95%, 68%)
HSVhsv(256, 63%, 98%)
CMYKcmyk(46.2%, 62.5%, 0%, 1.6%)
CIE-LABlab(51.97, 52.67, -72.89)
CIE-LCHlch(51.97, 89.93, 305.85°)
OKLaboklab(60.85% 0.0769 -0.2085)
OKLCHoklch(60.85% 0.222 290.2)
XYZxyz(31.4020, 20.1202, 93.4771)
Luminance0.2012 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875EFB #D2FB5E
analogous
#5E83FB #875EFB #D65EFB
triadic
#875EFB #FB875E #5EFB87
tetradic
#875EFB #FB5E83 #D2FB5E #5EFBD6
square
#875EFB #FB5E83 #D2FB5E #5EFBD6
split-complementary
#875EFB #FBD65E #83FB5E
monochromatic
#3D05D9 #5A22FA #875EFB #B49AFC #E0D5FE

Accessibility & contrast

On white

4.18
#875EFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#875EFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875EFB
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875EFB#FFFFFF#000000##000000
##875EFB1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#0078F8
Tritanopia (blue-blind)
#6283A4
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #875efb;
/* rgb */ color: rgb(135, 94, 251);
/* oklch */ color: oklch(60.9% 0.222 290.2);
Tailwind
colors: {
  custom: {
    50: '#b28efe',
    500: '#875efb',
    950: '#000000',
  },
}
SCSS
$custom: #875efb;
$custom-light: #b28efe;
$custom-dark: #000000;
JSON
{
  "hex": "#875efb",
  "rgb": {
    "r": 135,
    "g": 94,
    "b": 251
  },
  "hsl": {
    "h": 255.669,
    "s": 95.152,
    "l": 67.647
  },
  "oklch": {
    "l": 0.6085,
    "c": 0.22225,
    "h": 290.2
  },
  "luminance": 0.20121
}

Semantic roles & 50–950 ramp

primary
#875EFB
secondary
#E6F3C2
accent
#E600AA
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #875EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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