#9758EB#9758EB

#9758EB is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.4% C 0.213 H 299.7°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#9758EB
RGBrgb(151, 88, 235)
HSLhsl(266, 79%, 63%)
HSVhsv(266, 63%, 92%)
CMYKcmyk(35.7%, 62.6%, 0%, 7.8%)
CIE-LABlab(51.33, 54.85, -64.91)
CIE-LCHlch(51.33, 84.98, 310.20°)
OKLaboklab(60.41% 0.1054 -0.1846)
OKLCHoklch(60.41% 0.213 299.7)
XYZxyz(31.2439, 19.5566, 80.7099)
Luminance0.1956 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9758EB #ACEB58
analogous
#5862EB #9758EB #E058EB
triadic
#9758EB #EB9758 #58EB97
tetradic
#9758EB #EB5862 #ACEB58 #58EBE0
square
#9758EB #EB5862 #ACEB58 #58EBE0
split-complementary
#9758EB #EBE058 #62EB58
monochromatic
#5915B3 #7521E4 #9758EB #B98FF2 #DBC5F8

Accessibility & contrast

On white

4.28
#9758EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#9758EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9758EB
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9758EB#FFFFFF#000000##000000
##9758EB1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF0
Deuteranopia (green-blind)
#1679E8
Tritanopia (blue-blind)
#84789A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9758eb;
/* rgb */ color: rgb(151, 88, 235);
/* oklch */ color: oklch(60.4% 0.213 299.7);
Tailwind
colors: {
  custom: {
    50: '#bb8af2',
    500: '#9758eb',
    950: '#000000',
  },
}
SCSS
$custom: #9758eb;
$custom-light: #bb8af2;
$custom-dark: #000000;
JSON
{
  "hex": "#9758eb",
  "rgb": {
    "r": 151,
    "g": 88,
    "b": 235
  },
  "hsl": {
    "h": 265.714,
    "s": 78.61,
    "l": 63.333
  },
  "oklch": {
    "l": 0.60414,
    "c": 0.21255,
    "h": 299.7
  },
  "luminance": 0.19557
}

Semantic roles & 50–950 ramp

primary
#9758EB
secondary
#D3EAB5
accent
#DB0B82
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9758EB

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

Preview Lab → · Contrast checker → · Palette generator →

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