#8758F9#8758F9

#8758F9 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.8% C 0.227 H 291.4°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#8758F9
RGBrgb(135, 88, 249)
HSLhsl(258, 93%, 66%)
HSVhsv(258, 65%, 98%)
CMYKcmyk(45.8%, 64.7%, 0%, 2.4%)
CIE-LABlab(50.65, 55.31, -73.93)
CIE-LCHlch(50.65, 92.33, 306.80°)
OKLaboklab(59.85% 0.083 -0.2116)
OKLCHoklch(59.85% 0.227 291.4)
XYZxyz(30.5755, 18.9688, 91.6545)
Luminance0.1897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8758F9 #CAF958
analogous
#5879F9 #8758F9 #D858F9
triadic
#8758F9 #F98758 #58F987
tetradic
#8758F9 #F95879 #CAF958 #58F9D8
square
#8758F9 #F95879 #CAF958 #58F9D8
split-complementary
#8758F9 #F9D858 #79F958
monochromatic
#4207CF #5D1DF7 #8758F9 #B193FB #DCCEFD

Accessibility & contrast

On white

4.38
#8758F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#8758F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8758F9
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8758F9#FFFFFF#000000##000000
##8758F91.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFE
Deuteranopia (green-blind)
#0075F6
Tritanopia (blue-blind)
#647FA1
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8758f9;
/* rgb */ color: rgb(135, 88, 249);
/* oklch */ color: oklch(59.8% 0.227 291.4);
Tailwind
colors: {
  custom: {
    50: '#b28afc',
    500: '#8758f9',
    950: '#000000',
  },
}
SCSS
$custom: #8758f9;
$custom-light: #b28afc;
$custom-dark: #000000;
JSON
{
  "hex": "#8758f9",
  "rgb": {
    "r": 135,
    "g": 88,
    "b": 249
  },
  "hsl": {
    "h": 257.516,
    "s": 93.064,
    "l": 66.078
  },
  "oklch": {
    "l": 0.59848,
    "c": 0.22728,
    "h": 291.4
  },
  "luminance": 0.1897
}

Semantic roles & 50–950 ramp

primary
#8758F9
secondary
#E1F1BC
accent
#E600A3
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #8758F9

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

Preview Lab → · Contrast checker → · Palette generator →

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