#8758F2#8758F2

#8758F2 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.3% C 0.219 H 292.5°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#8758F2
RGBrgb(135, 88, 242)
HSLhsl(258, 86%, 65%)
HSVhsv(258, 64%, 95%)
CMYKcmyk(44.2%, 63.6%, 0%, 5.1%)
CIE-LABlab(50.14, 53.44, -70.84)
CIE-LCHlch(50.14, 88.73, 307.03°)
OKLaboklab(59.32% 0.0838 -0.2025)
OKLCHoklch(59.32% 0.219 292.5)
XYZxyz(29.5040, 18.5402, 86.0113)
Luminance0.1854 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8758F2 #C3F258
analogous
#5876F2 #8758F2 #D458F2
triadic
#8758F2 #F28758 #58F287
tetradic
#8758F2 #F25876 #C3F258 #58F2D4
square
#8758F2 #F25876 #C3F258 #58F2D4
split-complementary
#8758F2 #F2D458 #76F258
monochromatic
#450FC1 #5E1FEE #8758F2 #B091F6 #D9CAFB

Accessibility & contrast

On white

4.46
#8758F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#8758F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8758F2
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8758F2#FFFFFF#000000##000000
##8758F21.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F7
Deuteranopia (green-blind)
#0074EF
Tritanopia (blue-blind)
#687C9D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8758f2;
/* rgb */ color: rgb(135, 88, 242);
/* oklch */ color: oklch(59.3% 0.219 292.5);
Tailwind
colors: {
  custom: {
    50: '#b18af7',
    500: '#8758f2',
    950: '#000000',
  },
}
SCSS
$custom: #8758f2;
$custom-light: #b18af7;
$custom-dark: #000000;
JSON
{
  "hex": "#8758f2",
  "rgb": {
    "r": 135,
    "g": 88,
    "b": 242
  },
  "hsl": {
    "h": 258.312,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.59324,
    "c": 0.21916,
    "h": 292.5
  },
  "luminance": 0.18541
}

Semantic roles & 50–950 ramp

primary
#8758F2
secondary
#DDEDB8
accent
#E2039E
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8758F2

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

Preview Lab → · Contrast checker → · Palette generator →

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