#9758E8#9758E8

#9758E8 is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.2% C 0.209 H 300.3°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#9758E8
RGBrgb(151, 88, 232)
HSLhsl(266, 76%, 63%)
HSVhsv(266, 62%, 91%)
CMYKcmyk(34.9%, 62.1%, 0%, 9%)
CIE-LABlab(51.13, 54.11, -63.55)
CIE-LCHlch(51.13, 83.46, 310.42°)
OKLaboklab(60.21% 0.1056 -0.1806)
OKLCHoklch(60.21% 0.209 300.3)
XYZxyz(30.8142, 19.3847, 78.4465)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9758E8 #A9E858
analogous
#5861E8 #9758E8 #DF58E8
triadic
#9758E8 #E89758 #58E897
tetradic
#9758E8 #E85861 #A9E858 #58E8DF
square
#9758E8 #E85861 #A9E858 #58E8DF
split-complementary
#9758E8 #E8DF58 #61E858
monochromatic
#5918AE #7622E1 #9758E8 #B88EEF #DAC4F7

Accessibility & contrast

On white

4.31
#9758E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#9758E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9758E8
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9758E8#FFFFFF#000000##000000
##9758E81.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079ED
Deuteranopia (green-blind)
#1F79E5
Tritanopia (blue-blind)
#867798
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9758e8;
/* rgb */ color: rgb(151, 88, 232);
/* oklch */ color: oklch(60.2% 0.209 300.3);
Tailwind
colors: {
  custom: {
    50: '#bb8af0',
    500: '#9758e8',
    950: '#000000',
  },
}
SCSS
$custom: #9758e8;
$custom-light: #bb8af0;
$custom-dark: #000000;
JSON
{
  "hex": "#9758e8",
  "rgb": {
    "r": 151,
    "g": 88,
    "b": 232
  },
  "hsl": {
    "h": 266.25,
    "s": 75.789,
    "l": 62.745
  },
  "oklch": {
    "l": 0.60208,
    "c": 0.20918,
    "h": 300.3
  },
  "luminance": 0.19385
}

Semantic roles & 50–950 ramp

primary
#9758E8
secondary
#D1E8B4
accent
#D80E7F
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9758E8

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

Preview Lab → · Contrast checker → · Palette generator →

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