#8758CA#8758CA

#8758CA is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.5% C 0.171 H 300.0°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#8758CA
RGBrgb(135, 88, 202)
HSLhsl(265, 52%, 57%)
HSVhsv(265, 56%, 79%)
CMYKcmyk(33.2%, 56.4%, 0%, 20.8%)
CIE-LABlab(47.49, 42.99, -52.44)
CIE-LCHlch(47.49, 67.81, 309.34°)
OKLaboklab(56.54% 0.0856 -0.1484)
OKLCHoklch(56.54% 0.171 300)
XYZxyz(24.1395, 16.3944, 57.7583)
Luminance0.1640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8758CA #9BCA58
analogous
#5862CA #8758CA #C058CA
triadic
#8758CA #CA8758 #58CA87
tetradic
#8758CA #CA5862 #9BCA58 #58CAC0
square
#8758CA #CA5862 #9BCA58 #58CAC0
split-complementary
#8758CA #CAC058 #62CA58
monochromatic
#4C287F #6837AE #8758CA #A886D9 #CAB5E7

Accessibility & contrast

On white

4.91
#8758CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#8758CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8758CA
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8758CA#FFFFFF#000000##FFFFFF
##8758CA1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2570CE
Deuteranopia (green-blind)
#3770C7
Tritanopia (blue-blind)
#796F88
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8758ca;
/* rgb */ color: rgb(135, 88, 202);
/* oklch */ color: oklch(56.5% 0.171 300.0);
Tailwind
colors: {
  custom: {
    50: '#ae89db',
    500: '#8758ca',
    950: '#000000',
  },
}
SCSS
$custom: #8758ca;
$custom-light: #ae89db;
$custom-dark: #000000;
JSON
{
  "hex": "#8758ca",
  "rgb": {
    "r": 135,
    "g": 88,
    "b": 202
  },
  "hsl": {
    "h": 264.737,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.56543,
    "c": 0.17134,
    "h": 300
  },
  "luminance": 0.16395
}

Semantic roles & 50–950 ramp

primary
#8758CA
secondary
#C3D6A8
accent
#DB4DA0
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8758CA

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

Preview Lab → · Contrast checker → · Palette generator →

#8758CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva