#9D68BF#9D68BF

#9D68BF is a mid, vivid violet. Relative luminance 0.208; OKLCH L 60.8% C 0.138 H 311.0°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#9D68BF
RGBrgb(157, 104, 191)
HSLhsl(277, 40%, 58%)
HSVhsv(277, 46%, 75%)
CMYKcmyk(17.8%, 45.5%, 0%, 25.1%)
CIE-LABlab(52.76, 37.31, -37.58)
CIE-LCHlch(52.76, 52.96, 314.79°)
OKLaboklab(60.81% 0.0907 -0.1045)
OKLCHoklch(60.81% 0.138 311)
XYZxyz(28.2572, 20.8308, 51.8123)
Luminance0.2083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D68BF #8ABF68
analogous
#7268BF #9D68BF #BF68B5
triadic
#9D68BF #BF9D68 #68BF9D
tetradic
#9D68BF #BF7268 #8ABF68 #68B5BF
square
#9D68BF #BF7268 #8ABF68 #68B5BF
split-complementary
#9D68BF #B5BF68 #68BF72
monochromatic
#5E3379 #7F46A4 #9D68BF #B993D1 #D5BEE3

Accessibility & contrast

On white

4.07
#9D68BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#9D68BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D68BF
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D68BF#FFFFFF#000000##000000
##9D68BF1.004.075.175.17
#FFFFFF4.071.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#557BC2
Deuteranopia (green-blind)
#637FBD
Tritanopia (blue-blind)
#99758A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9d68bf;
/* rgb */ color: rgb(157, 104, 191);
/* oklch */ color: oklch(60.8% 0.138 311.0);
Tailwind
colors: {
  custom: {
    50: '#bb94d2',
    500: '#9d68bf',
    950: '#000000',
  },
}
SCSS
$custom: #9d68bf;
$custom-light: #bb94d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d68bf",
  "rgb": {
    "r": 157,
    "g": 104,
    "b": 191
  },
  "hsl": {
    "h": 276.552,
    "s": 40.465,
    "l": 57.843
  },
  "oklch": {
    "l": 0.60807,
    "c": 0.13842,
    "h": 311
  },
  "luminance": 0.2083
}

Semantic roles & 50–950 ramp

primary
#9D68BF
secondary
#BED3B0
accent
#D05787
background
#FBF9FC
surface
#F6F1F9
border
#D0CBD2
text
#120D14
muted
#817E82

Preview Lab

Preview with #9D68BF

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

Preview Lab → · Contrast checker → · Palette generator →

#9D68BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva