#9758DB#9758DB

#9758DB is a mid, vivid violet. Relative luminance 0.187; OKLCH L 59.3% C 0.194 H 303.1°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#9758DB
RGBrgb(151, 88, 219)
HSLhsl(269, 65%, 60%)
HSVhsv(269, 60%, 86%)
CMYKcmyk(31.1%, 59.8%, 0%, 14.1%)
CIE-LABlab(50.30, 50.96, -57.54)
CIE-LCHlch(50.30, 76.86, 311.53°)
OKLaboklab(59.34% 0.1062 -0.1629)
OKLCHoklch(59.34% 0.194 303.1)
XYZxyz(29.0355, 18.6732, 69.0787)
Luminance0.1867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9758DB #9CDB58
analogous
#585ADB #9758DB #D858DB
triadic
#9758DB #DB9758 #58DB97
tetradic
#9758DB #DB585A #9CDB58 #58DBD8
square
#9758DB #DB585A #9CDB58 #58DBD8
split-complementary
#9758DB #DBD858 #5ADB58
monochromatic
#5A2198 #782CCA #9758DB #B68AE6 #D6BDF1

Accessibility & contrast

On white

4.44
#9758DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#9758DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9758DB
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9758DB#FFFFFF#000000##000000
##9758DB1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F76DF
Deuteranopia (green-blind)
#3577D8
Tritanopia (blue-blind)
#8A7391
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9758db;
/* rgb */ color: rgb(151, 88, 219);
/* oklch */ color: oklch(59.3% 0.194 303.1);
Tailwind
colors: {
  custom: {
    50: '#ba8ae7',
    500: '#9758db',
    950: '#000000',
  },
}
SCSS
$custom: #9758db;
$custom-light: #ba8ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#9758db",
  "rgb": {
    "r": 151,
    "g": 88,
    "b": 219
  },
  "hsl": {
    "h": 268.855,
    "s": 64.532,
    "l": 60.196
  },
  "oklch": {
    "l": 0.59339,
    "c": 0.19447,
    "h": 303.1
  },
  "luminance": 0.18673
}

Semantic roles & 50–950 ramp

primary
#9758DB
secondary
#C8E1AE
accent
#CC1976
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9758DB

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

Preview Lab → · Contrast checker → · Palette generator →

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