#9758D5#9758D5

#9758D5 is a mid, vivid violet. Relative luminance 0.184; OKLCH L 59.0% C 0.188 H 304.5°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#9758D5
RGBrgb(151, 88, 213)
HSLhsl(270, 60%, 59%)
HSVhsv(270, 59%, 84%)
CMYKcmyk(29.1%, 58.7%, 0%, 16.5%)
CIE-LABlab(49.93, 49.52, -54.72)
CIE-LCHlch(49.93, 73.80, 312.15°)
OKLaboklab(58.95% 0.1063 -0.1546)
OKLCHoklch(58.95% 0.188 304.5)
XYZxyz(28.2598, 18.3630, 64.9935)
Luminance0.1836 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9758D5 #96D558
analogous
#5958D5 #9758D5 #D558D5
triadic
#9758D5 #D59758 #58D597
tetradic
#9758D5 #D55958 #96D558 #58D5D5
square
#9758D5 #D55958 #96D558 #58D5D5
split-complementary
#9758D5 #D5D558 #58D559
monochromatic
#5A248F #7830C0 #9758D5 #B589E1 #D4BAEE

Accessibility & contrast

On white

4.49
#9758D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#9758D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9758D5
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9758D5#FFFFFF#000000##000000
##9758D51.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F75D9
Deuteranopia (green-blind)
#3D77D2
Tritanopia (blue-blind)
#8C718E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9758d5;
/* rgb */ color: rgb(151, 88, 213);
/* oklch */ color: oklch(59.0% 0.188 304.5);
Tailwind
colors: {
  custom: {
    50: '#b98ae3',
    500: '#9758d5',
    950: '#000000',
  },
}
SCSS
$custom: #9758d5;
$custom-light: #b98ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#9758d5",
  "rgb": {
    "r": 151,
    "g": 88,
    "b": 213
  },
  "hsl": {
    "h": 270.24,
    "s": 59.809,
    "l": 59.02
  },
  "oklch": {
    "l": 0.58951,
    "c": 0.18764,
    "h": 304.5
  },
  "luminance": 0.18363
}

Semantic roles & 50–950 ramp

primary
#9758D5
secondary
#C4DDAC
accent
#E34593
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9758D5

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

Preview Lab → · Contrast checker → · Palette generator →

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