#9758CA#9758CA

#9758CA is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.3% C 0.175 H 307.3°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#9758CA
RGBrgb(151, 88, 202)
HSLhsl(273, 52%, 57%)
HSVhsv(273, 56%, 79%)
CMYKcmyk(25.2%, 56.4%, 0%, 20.8%)
CIE-LABlab(49.28, 46.94, -49.47)
CIE-LCHlch(49.28, 68.19, 313.50°)
OKLaboklab(58.26% 0.1062 -0.1392)
OKLCHoklch(58.26% 0.175 307.3)
XYZxyz(26.9107, 17.8233, 57.8882)
Luminance0.1782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9758CA #8BCA58
analogous
#5E58CA #9758CA #CA58C4
triadic
#9758CA #CA9758 #58CA97
tetradic
#9758CA #CA5E58 #8BCA58 #58C4CA
square
#9758CA #CA5E58 #8BCA58 #58C4CA
split-complementary
#9758CA #C4CA58 #58CA5E
monochromatic
#58287F #7937AE #9758CA #B486D9 #D1B5E7

Accessibility & contrast

On white

4.60
#9758CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#9758CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9758CA
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9758CA#FFFFFF#000000##FFFFFF
##9758CA1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F73CE
Deuteranopia (green-blind)
#4776C7
Tritanopia (blue-blind)
#8F6D89
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9758ca;
/* rgb */ color: rgb(151, 88, 202);
/* oklch */ color: oklch(58.3% 0.175 307.3);
Tailwind
colors: {
  custom: {
    50: '#b98adb',
    500: '#9758ca',
    950: '#000000',
  },
}
SCSS
$custom: #9758ca;
$custom-light: #b98adb;
$custom-dark: #000000;
JSON
{
  "hex": "#9758ca",
  "rgb": {
    "r": 151,
    "g": 88,
    "b": 202
  },
  "hsl": {
    "h": 273.158,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.58264,
    "c": 0.1751,
    "h": 307.3
  },
  "luminance": 0.17823
}

Semantic roles & 50–950 ramp

primary
#9758CA
secondary
#BCD6A8
accent
#DB4D8C
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9758CA

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

Preview Lab → · Contrast checker → · Palette generator →

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