#9758E6#9758E6

#9758E6 is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.1% C 0.207 H 300.7°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#9758E6
RGBrgb(151, 88, 230)
HSLhsl(267, 74%, 62%)
HSVhsv(267, 62%, 90%)
CMYKcmyk(34.3%, 61.7%, 0%, 9.8%)
CIE-LABlab(51.00, 53.62, -62.63)
CIE-LCHlch(51.00, 82.45, 310.57°)
OKLaboklab(60.07% 0.1058 -0.1779)
OKLCHoklch(60.07% 0.207 300.7)
XYZxyz(30.5317, 19.2717, 76.9589)
Luminance0.1927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9758E6 #A7E658
analogous
#5860E6 #9758E6 #DE58E6
triadic
#9758E6 #E69758 #58E697
tetradic
#9758E6 #E65860 #A7E658 #58E6DE
square
#9758E6 #E65860 #A7E658 #58E6DE
split-complementary
#9758E6 #E6DE58 #60E658
monochromatic
#5A19AA #7623DE #9758E6 #B88DEE #D9C2F6

Accessibility & contrast

On white

4.33
#9758E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#9758E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9758E6
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9758E6#FFFFFF#000000##000000
##9758E61.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EA
Deuteranopia (green-blind)
#2479E3
Tritanopia (blue-blind)
#867797
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9758e6;
/* rgb */ color: rgb(151, 88, 230);
/* oklch */ color: oklch(60.1% 0.207 300.7);
Tailwind
colors: {
  custom: {
    50: '#ba8aef',
    500: '#9758e6',
    950: '#000000',
  },
}
SCSS
$custom: #9758e6;
$custom-light: #ba8aef;
$custom-dark: #000000;
JSON
{
  "hex": "#9758e6",
  "rgb": {
    "r": 151,
    "g": 88,
    "b": 230
  },
  "hsl": {
    "h": 266.62,
    "s": 73.958,
    "l": 62.353
  },
  "oklch": {
    "l": 0.60072,
    "c": 0.20693,
    "h": 300.7
  },
  "luminance": 0.19272
}

Semantic roles & 50–950 ramp

primary
#9758E6
secondary
#D0E7B3
accent
#D60F7E
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9758E6

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

Preview Lab → · Contrast checker → · Palette generator →

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