#9758DD#9758DD

#9758DD is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.5% C 0.197 H 302.7°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#9758DD
RGBrgb(151, 88, 221)
HSLhsl(268, 66%, 61%)
HSVhsv(268, 60%, 87%)
CMYKcmyk(31.7%, 60.2%, 0%, 13.3%)
CIE-LABlab(50.43, 51.44, -58.47)
CIE-LCHlch(50.43, 77.88, 311.34°)
OKLaboklab(59.47% 0.1062 -0.1656)
OKLCHoklch(59.47% 0.197 302.7)
XYZxyz(29.3004, 18.7792, 70.4737)
Luminance0.1878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9758DD #9EDD58
analogous
#585BDD #9758DD #D958DD
triadic
#9758DD #DD9758 #58DD97
tetradic
#9758DD #DD585B #9EDD58 #58DDD9
square
#9758DD #DD585B #9EDD58 #58DDD9
split-complementary
#9758DD #DDD958 #5BDD58
monochromatic
#5A209B #782ACE #9758DD #B78BE7 #D6BEF2

Accessibility & contrast

On white

4.42
#9758DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#9758DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9758DD
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9758DD#FFFFFF#000000##000000
##9758DD1.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0677E1
Deuteranopia (green-blind)
#3378DA
Tritanopia (blue-blind)
#897492
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9758dd;
/* rgb */ color: rgb(151, 88, 221);
/* oklch */ color: oklch(59.5% 0.197 302.7);
Tailwind
colors: {
  custom: {
    50: '#ba8ae8',
    500: '#9758dd',
    950: '#000000',
  },
}
SCSS
$custom: #9758dd;
$custom-light: #ba8ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#9758dd",
  "rgb": {
    "r": 151,
    "g": 88,
    "b": 221
  },
  "hsl": {
    "h": 268.421,
    "s": 66.169,
    "l": 60.588
  },
  "oklch": {
    "l": 0.5947,
    "c": 0.19674,
    "h": 302.7
  },
  "luminance": 0.18779
}

Semantic roles & 50–950 ramp

primary
#9758DD
secondary
#CAE2AF
accent
#CE1778
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9758DD

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

Preview Lab → · Contrast checker → · Palette generator →

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