#9758EF#9758EF

#9758EF is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.7% C 0.217 H 299.0°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#9758EF
RGBrgb(151, 88, 239)
HSLhsl(265, 83%, 64%)
HSVhsv(265, 63%, 94%)
CMYKcmyk(36.8%, 63.2%, 0%, 6.3%)
CIE-LABlab(51.60, 55.84, -66.72)
CIE-LCHlch(51.60, 87.00, 309.92°)
OKLaboklab(60.69% 0.1051 -0.1899)
OKLCHoklch(60.69% 0.217 299)
XYZxyz(31.8283, 19.7904, 83.7877)
Luminance0.1979 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9758EF #B0EF58
analogous
#5865EF #9758EF #E358EF
triadic
#9758EF #EF9758 #58EF97
tetradic
#9758EF #EF5865 #B0EF58 #58EFE3
square
#9758EF #EF5865 #B0EF58 #58EFE3
split-complementary
#9758EF #EFE358 #65EF58
monochromatic
#5812BB #7420EA #9758EF #BA90F4 #DDC8FA

Accessibility & contrast

On white

4.24
#9758EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#9758EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9758EF
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9758EF#FFFFFF#000000##000000
##9758EF1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF4
Deuteranopia (green-blind)
#037AEC
Tritanopia (blue-blind)
#837A9C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9758ef;
/* rgb */ color: rgb(151, 88, 239);
/* oklch */ color: oklch(60.7% 0.217 299.0);
Tailwind
colors: {
  custom: {
    50: '#bb8af5',
    500: '#9758ef',
    950: '#000000',
  },
}
SCSS
$custom: #9758ef;
$custom-light: #bb8af5;
$custom-dark: #000000;
JSON
{
  "hex": "#9758ef",
  "rgb": {
    "r": 151,
    "g": 88,
    "b": 239
  },
  "hsl": {
    "h": 265.033,
    "s": 82.514,
    "l": 64.118
  },
  "oklch": {
    "l": 0.60692,
    "c": 0.21705,
    "h": 299
  },
  "luminance": 0.19791
}

Semantic roles & 50–950 ramp

primary
#9758EF
secondary
#D6ECB7
accent
#DF0785
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #9758EF

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

Preview Lab → · Contrast checker → · Palette generator →

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