#875AF2#875AF2

#875AF2 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.6% C 0.217 H 292.2°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#875AF2
RGBrgb(135, 90, 242)
HSLhsl(258, 85%, 65%)
HSVhsv(258, 63%, 95%)
CMYKcmyk(44.2%, 62.8%, 0%, 5.1%)
CIE-LABlab(50.54, 52.38, -70.20)
CIE-LCHlch(50.54, 87.59, 306.73°)
OKLaboklab(59.61% 0.0817 -0.2006)
OKLCHoklch(59.61% 0.217 292.2)
XYZxyz(29.6704, 18.8731, 86.0668)
Luminance0.1887 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875AF2 #C5F25A
analogous
#5A79F2 #875AF2 #D35AF2
triadic
#875AF2 #F2875A #5AF287
tetradic
#875AF2 #F25A79 #C5F25A #5AF2D3
square
#875AF2 #F25A79 #C5F25A #5AF2D3
split-complementary
#875AF2 #F2D35A #79F25A
monochromatic
#440FC2 #5E21EE #875AF2 #B093F6 #DACBFB

Accessibility & contrast

On white

4.40
#875AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#875AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875AF2
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875AF2#FFFFFF#000000##000000
##875AF21.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF7
Deuteranopia (green-blind)
#0075EF
Tritanopia (blue-blind)
#687E9E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #875af2;
/* rgb */ color: rgb(135, 90, 242);
/* oklch */ color: oklch(59.6% 0.217 292.2);
Tailwind
colors: {
  custom: {
    50: '#b18bf7',
    500: '#875af2',
    950: '#000000',
  },
}
SCSS
$custom: #875af2;
$custom-light: #b18bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#875af2",
  "rgb": {
    "r": 135,
    "g": 90,
    "b": 242
  },
  "hsl": {
    "h": 257.763,
    "s": 85.393,
    "l": 65.098
  },
  "oklch": {
    "l": 0.59609,
    "c": 0.21663,
    "h": 292.2
  },
  "luminance": 0.18874
}

Semantic roles & 50–950 ramp

primary
#875AF2
secondary
#DEEEBA
accent
#E204A0
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #875AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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