#875AEC#875AEC

#875AEC is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.2% C 0.210 H 293.1°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#875AEC
RGBrgb(135, 90, 236)
HSLhsl(258, 79%, 64%)
HSVhsv(258, 62%, 93%)
CMYKcmyk(42.8%, 61.9%, 0%, 7.5%)
CIE-LABlab(50.12, 50.77, -67.52)
CIE-LCHlch(50.12, 84.48, 306.94°)
OKLaboklab(59.17% 0.0822 -0.1927)
OKLCHoklch(59.17% 0.21 293.1)
XYZxyz(28.7840, 18.5185, 81.3985)
Luminance0.1852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#875AEC #BFEC5A
analogous
#5A76EC #875AEC #D05AEC
triadic
#875AEC #EC875A #5AEC87
tetradic
#875AEC #EC5A76 #BFEC5A #5AECD0
square
#875AEC #EC5A76 #BFEC5A #5AECD0
split-complementary
#875AEC #ECD05A #76EC5A
monochromatic
#4715B7 #5F23E6 #875AEC #AF91F2 #D7C8F9

Accessibility & contrast

On white

4.46
#875AEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#875AEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #875AEC
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##875AEC#FFFFFF#000000##000000
##875AEC1.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F1
Deuteranopia (green-blind)
#0075E9
Tritanopia (blue-blind)
#6B7C9B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #875aec;
/* rgb */ color: rgb(135, 90, 236);
/* oklch */ color: oklch(59.2% 0.210 293.1);
Tailwind
colors: {
  custom: {
    50: '#b18bf3',
    500: '#875aec',
    950: '#000000',
  },
}
SCSS
$custom: #875aec;
$custom-light: #b18bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#875aec",
  "rgb": {
    "r": 135,
    "g": 90,
    "b": 236
  },
  "hsl": {
    "h": 258.493,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.59172,
    "c": 0.20954,
    "h": 293.1
  },
  "luminance": 0.18519
}

Semantic roles & 50–950 ramp

primary
#875AEC
secondary
#DBEBB7
accent
#DC0A9B
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #875AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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