#9758E7#9758E7

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

Color values

HEX#9758E7
RGBrgb(151, 88, 231)
HSLhsl(266, 75%, 63%)
HSVhsv(266, 62%, 91%)
CMYKcmyk(34.6%, 61.9%, 0%, 9.4%)
CIE-LABlab(51.07, 53.87, -63.09)
CIE-LCHlch(51.07, 82.96, 310.49°)
OKLaboklab(60.14% 0.1057 -0.1792)
OKLCHoklch(60.14% 0.208 300.5)
XYZxyz(30.6725, 19.3281, 77.7005)
Luminance0.1933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9758E7 #A8E758
analogous
#5860E7 #9758E7 #DF58E7
triadic
#9758E7 #E79758 #58E797
tetradic
#9758E7 #E75860 #A8E758 #58E7DF
square
#9758E7 #E75860 #A8E758 #58E7DF
split-complementary
#9758E7 #E7DF58 #60E758
monochromatic
#5A19AC #7622DF #9758E7 #B88EEF #DAC3F6

Accessibility & contrast

On white

4.32
#9758E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#9758E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9758E7
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9758E7#FFFFFF#000000##000000
##9758E71.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EB
Deuteranopia (green-blind)
#2179E4
Tritanopia (blue-blind)
#867798
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9758e7;
/* rgb */ color: rgb(151, 88, 231);
/* oklch */ color: oklch(60.1% 0.208 300.5);
Tailwind
colors: {
  custom: {
    50: '#bb8aef',
    500: '#9758e7',
    950: '#000000',
  },
}
SCSS
$custom: #9758e7;
$custom-light: #bb8aef;
$custom-dark: #000000;
JSON
{
  "hex": "#9758e7",
  "rgb": {
    "r": 151,
    "g": 88,
    "b": 231
  },
  "hsl": {
    "h": 266.434,
    "s": 74.869,
    "l": 62.549
  },
  "oklch": {
    "l": 0.6014,
    "c": 0.20805,
    "h": 300.5
  },
  "luminance": 0.19328
}

Semantic roles & 50–950 ramp

primary
#9758E7
secondary
#D0E7B3
accent
#D70E7F
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9758E7

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

Preview Lab → · Contrast checker → · Palette generator →

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