#9758CB#9758CB

#9758CB is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.3% C 0.176 H 307.1°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#9758CB
RGBrgb(151, 88, 203)
HSLhsl(273, 53%, 57%)
HSVhsv(273, 57%, 80%)
CMYKcmyk(25.6%, 56.7%, 0%, 20.4%)
CIE-LABlab(49.34, 47.17, -49.95)
CIE-LCHlch(49.34, 68.70, 313.36°)
OKLaboklab(58.33% 0.1062 -0.1406)
OKLCHoklch(58.33% 0.176 307.1)
XYZxyz(27.0295, 17.8708, 58.5138)
Luminance0.1787 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9758CB #8CCB58
analogous
#5E58CB #9758CB #CB58C5
triadic
#9758CB #CB9758 #58CB97
tetradic
#9758CB #CB5E58 #8CCB58 #58C5CB
square
#9758CB #CB5E58 #8CCB58 #58C5CB
split-complementary
#9758CB #C5CB58 #58CB5E
monochromatic
#592881 #7937AF #9758CB #B487DA #D1B5E8

Accessibility & contrast

On white

4.59
#9758CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#9758CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9758CB
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9758CB#FFFFFF#000000##FFFFFF
##9758CB1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E73CF
Deuteranopia (green-blind)
#4676C8
Tritanopia (blue-blind)
#8F6E89
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9758cb;
/* rgb */ color: rgb(151, 88, 203);
/* oklch */ color: oklch(58.3% 0.176 307.1);
Tailwind
colors: {
  custom: {
    50: '#b98adb',
    500: '#9758cb',
    950: '#000000',
  },
}
SCSS
$custom: #9758cb;
$custom-light: #b98adb;
$custom-dark: #000000;
JSON
{
  "hex": "#9758cb",
  "rgb": {
    "r": 151,
    "g": 88,
    "b": 203
  },
  "hsl": {
    "h": 272.87,
    "s": 52.511,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58325,
    "c": 0.17624,
    "h": 307.1
  },
  "luminance": 0.17871
}

Semantic roles & 50–950 ramp

primary
#9758CB
secondary
#BDD7A8
accent
#DC4C8D
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9758CB

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

Preview Lab → · Contrast checker → · Palette generator →

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