#8758EB#8758EB

#8758EB is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.8% C 0.211 H 293.6°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#8758EB
RGBrgb(135, 88, 235)
HSLhsl(259, 79%, 63%)
HSVhsv(259, 63%, 92%)
CMYKcmyk(42.6%, 62.6%, 0%, 7.8%)
CIE-LABlab(49.65, 51.58, -67.72)
CIE-LCHlch(49.65, 85.12, 307.30°)
OKLaboklab(58.81% 0.0844 -0.1933)
OKLCHoklch(58.81% 0.211 293.6)
XYZxyz(28.4727, 18.1277, 80.5800)
Luminance0.1813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8758EB #BCEB58
analogous
#5872EB #8758EB #D158EB
triadic
#8758EB #EB8758 #58EB87
tetradic
#8758EB #EB5872 #BCEB58 #58EBD1
square
#8758EB #EB5872 #BCEB58 #58EBD1
split-complementary
#8758EB #EBD158 #72EB58
monochromatic
#4815B3 #6021E4 #8758EB #AE8FF2 #D6C5F8

Accessibility & contrast

On white

4.54
#8758EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#8758EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8758EB
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8758EB#FFFFFF#000000##000000
##8758EB1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078F0
Deuteranopia (green-blind)
#0073E8
Tritanopia (blue-blind)
#6B7A9A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8758eb;
/* rgb */ color: rgb(135, 88, 235);
/* oklch */ color: oklch(58.8% 0.211 293.6);
Tailwind
colors: {
  custom: {
    50: '#b189f2',
    500: '#8758eb',
    950: '#000000',
  },
}
SCSS
$custom: #8758eb;
$custom-light: #b189f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8758eb",
  "rgb": {
    "r": 135,
    "g": 88,
    "b": 235
  },
  "hsl": {
    "h": 259.184,
    "s": 78.61,
    "l": 63.333
  },
  "oklch": {
    "l": 0.58811,
    "c": 0.21094,
    "h": 293.6
  },
  "luminance": 0.18129
}

Semantic roles & 50–950 ramp

primary
#8758EB
secondary
#D9EAB5
accent
#DB0B98
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8758EB

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

Preview Lab → · Contrast checker → · Palette generator →

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