#9758CD#9758CD

#9758CD is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.4% C 0.179 H 306.5°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#9758CD
RGBrgb(151, 88, 205)
HSLhsl(272, 54%, 57%)
HSVhsv(272, 57%, 80%)
CMYKcmyk(26.3%, 57.1%, 0%, 19.6%)
CIE-LABlab(49.46, 47.64, -50.91)
CIE-LCHlch(49.46, 69.72, 313.10°)
OKLaboklab(58.45% 0.1063 -0.1435)
OKLCHoklch(58.45% 0.179 306.5)
XYZxyz(27.2694, 17.9668, 59.7771)
Luminance0.1797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9758CD #8ECD58
analogous
#5D58CD #9758CD #CD58C8
triadic
#9758CD #CD9758 #58CD97
tetradic
#9758CD #CD5D58 #8ECD58 #58C8CD
square
#9758CD #CD5D58 #8ECD58 #58C8CD
split-complementary
#9758CD #C8CD58 #58CD5D
monochromatic
#592783 #7935B2 #9758CD #B487DB #D2B6E9

Accessibility & contrast

On white

4.57
#9758CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#9758CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9758CD
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9758CD#FFFFFF#000000##000000
##9758CD1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C73D1
Deuteranopia (green-blind)
#4476CA
Tritanopia (blue-blind)
#8E6E8A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9758cd;
/* rgb */ color: rgb(151, 88, 205);
/* oklch */ color: oklch(58.4% 0.179 306.5);
Tailwind
colors: {
  custom: {
    50: '#b98add',
    500: '#9758cd',
    950: '#000000',
  },
}
SCSS
$custom: #9758cd;
$custom-light: #b98add;
$custom-dark: #000000;
JSON
{
  "hex": "#9758cd",
  "rgb": {
    "r": 151,
    "g": 88,
    "b": 205
  },
  "hsl": {
    "h": 272.308,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.58448,
    "c": 0.17852,
    "h": 306.5
  },
  "luminance": 0.17967
}

Semantic roles & 50–950 ramp

primary
#9758CD
secondary
#BFD8A9
accent
#DD4B8E
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9758CD

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

Preview Lab → · Contrast checker → · Palette generator →

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