#9758E5#9758E5

#9758E5 is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.0% C 0.206 H 300.9°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#9758E5
RGBrgb(151, 88, 229)
HSLhsl(267, 73%, 62%)
HSVhsv(267, 62%, 90%)
CMYKcmyk(34.1%, 61.6%, 0%, 10.2%)
CIE-LABlab(50.94, 53.38, -62.17)
CIE-LCHlch(50.94, 81.94, 310.65°)
OKLaboklab(60% 0.1058 -0.1765)
OKLCHoklch(60% 0.206 300.9)
XYZxyz(30.3917, 19.2157, 76.2214)
Luminance0.1922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9758E5 #A6E558
analogous
#585FE5 #9758E5 #DE58E5
triadic
#9758E5 #E59758 #58E597
tetradic
#9758E5 #E5585F #A6E558 #58E5DE
square
#9758E5 #E5585F #A6E558 #58E5DE
split-complementary
#9758E5 #E5DE58 #5FE558
monochromatic
#5A1AA8 #7623DD #9758E5 #B88DED #D9C2F5

Accessibility & contrast

On white

4.34
#9758E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#9758E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9758E5
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9758E5#FFFFFF#000000##000000
##9758E51.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E9
Deuteranopia (green-blind)
#2678E2
Tritanopia (blue-blind)
#877696
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9758e5;
/* rgb */ color: rgb(151, 88, 229);
/* oklch */ color: oklch(60.0% 0.206 300.9);
Tailwind
colors: {
  custom: {
    50: '#ba8aee',
    500: '#9758e5',
    950: '#000000',
  },
}
SCSS
$custom: #9758e5;
$custom-light: #ba8aee;
$custom-dark: #000000;
JSON
{
  "hex": "#9758e5",
  "rgb": {
    "r": 151,
    "g": 88,
    "b": 229
  },
  "hsl": {
    "h": 266.809,
    "s": 73.057,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60004,
    "c": 0.2058,
    "h": 300.9
  },
  "luminance": 0.19216
}

Semantic roles & 50–950 ramp

primary
#9758E5
secondary
#CFE6B3
accent
#D5107D
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9758E5

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

Preview Lab → · Contrast checker → · Palette generator →

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