#9758E9#9758E9

#9758E9 is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.3% C 0.210 H 300.1°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#9758E9
RGBrgb(151, 88, 233)
HSLhsl(266, 77%, 63%)
HSVhsv(266, 62%, 91%)
CMYKcmyk(35.2%, 62.2%, 0%, 8.6%)
CIE-LABlab(51.20, 54.36, -64.00)
CIE-LCHlch(51.20, 83.97, 310.34°)
OKLaboklab(60.28% 0.1056 -0.1819)
OKLCHoklch(60.28% 0.21 300.1)
XYZxyz(30.9566, 19.4417, 79.1967)
Luminance0.1944 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9758E9 #AAE958
analogous
#5861E9 #9758E9 #E058E9
triadic
#9758E9 #E99758 #58E997
tetradic
#9758E9 #E95861 #AAE958 #58E9E0
square
#9758E9 #E95861 #AAE958 #58E9E0
split-complementary
#9758E9 #E9E058 #61E958
monochromatic
#5917AF #7522E2 #9758E9 #B98EF0 #DAC4F7

Accessibility & contrast

On white

4.30
#9758E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#9758E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9758E9
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9758E9#FFFFFF#000000##000000
##9758E91.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEE
Deuteranopia (green-blind)
#1C79E6
Tritanopia (blue-blind)
#857899
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9758e9;
/* rgb */ color: rgb(151, 88, 233);
/* oklch */ color: oklch(60.3% 0.210 300.1);
Tailwind
colors: {
  custom: {
    50: '#bb8af1',
    500: '#9758e9',
    950: '#000000',
  },
}
SCSS
$custom: #9758e9;
$custom-light: #bb8af1;
$custom-dark: #000000;
JSON
{
  "hex": "#9758e9",
  "rgb": {
    "r": 151,
    "g": 88,
    "b": 233
  },
  "hsl": {
    "h": 266.069,
    "s": 76.72,
    "l": 62.941
  },
  "oklch": {
    "l": 0.60277,
    "c": 0.21031,
    "h": 300.1
  },
  "luminance": 0.19442
}

Semantic roles & 50–950 ramp

primary
#9758E9
secondary
#D2E8B4
accent
#D90D80
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9758E9

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

Preview Lab → · Contrast checker → · Palette generator →

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