#9758CC#9758CC

#9758CC is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.4% C 0.177 H 306.8°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#9758CC
RGBrgb(151, 88, 204)
HSLhsl(273, 53%, 57%)
HSVhsv(273, 57%, 80%)
CMYKcmyk(26%, 56.9%, 0%, 20%)
CIE-LABlab(49.40, 47.40, -50.43)
CIE-LCHlch(49.40, 69.21, 313.23°)
OKLaboklab(58.39% 0.1062 -0.1421)
OKLCHoklch(58.39% 0.177 306.8)
XYZxyz(27.1490, 17.9187, 59.1434)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9758CC #8DCC58
analogous
#5D58CC #9758CC #CC58C7
triadic
#9758CC #CC9758 #58CC97
tetradic
#9758CC #CC5D58 #8DCC58 #58C7CC
square
#9758CC #CC5D58 #8DCC58 #58C7CC
split-complementary
#9758CC #C7CC58 #58CC5D
monochromatic
#592882 #7936B1 #9758CC #B487DA #D1B6E9

Accessibility & contrast

On white

4.58
#9758CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#9758CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9758CC
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9758CC#FFFFFF#000000##000000
##9758CC1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D73D0
Deuteranopia (green-blind)
#4576C9
Tritanopia (blue-blind)
#8F6E8A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9758cc;
/* rgb */ color: rgb(151, 88, 204);
/* oklch */ color: oklch(58.4% 0.177 306.8);
Tailwind
colors: {
  custom: {
    50: '#b98adc',
    500: '#9758cc',
    950: '#000000',
  },
}
SCSS
$custom: #9758cc;
$custom-light: #b98adc;
$custom-dark: #000000;
JSON
{
  "hex": "#9758cc",
  "rgb": {
    "r": 151,
    "g": 88,
    "b": 204
  },
  "hsl": {
    "h": 272.586,
    "s": 53.211,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58386,
    "c": 0.17739,
    "h": 306.8
  },
  "luminance": 0.17918
}

Semantic roles & 50–950 ramp

primary
#9758CC
secondary
#BED7A8
accent
#DD4B8E
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9758CC

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

Preview Lab → · Contrast checker → · Palette generator →

#9758CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva