#917CBF#917CBF

#917CBF is a light, moderate violet. Relative luminance 0.242; OKLCH L 63.2% C 0.101 H 297.9°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#917CBF
RGBrgb(145, 124, 191)
HSLhsl(259, 34%, 62%)
HSVhsv(259, 35%, 75%)
CMYKcmyk(24.1%, 35.1%, 0%, 25.1%)
CIE-LABlab(56.28, 22.25, -32.16)
CIE-LCHlch(56.28, 39.11, 304.68°)
OKLaboklab(63.19% 0.0472 -0.0892)
OKLCHoklch(63.19% 0.101 297.9)
XYZxyz(28.2865, 24.1964, 52.4602)
Luminance0.2420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#917CBF #AABF7C
analogous
#7C89BF #917CBF #B37CBF
triadic
#917CBF #BF917C #7CBF91
tetradic
#917CBF #BF7C89 #AABF7C #7CBFB3
square
#917CBF #BF7C89 #AABF7C #7CBFB3
split-complementary
#917CBF #BFB37C #89BF7C
monochromatic
#543F81 #6F53AB #917CBF #B4A5D3 #D6CEE7

Accessibility & contrast

On white

3.60
#917CBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#917CBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #917CBF
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##917CBF#FFFFFF#000000##000000
##917CBF1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C87C2
Deuteranopia (green-blind)
#6F86BD
Tritanopia (blue-blind)
#888795
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #917cbf;
/* rgb */ color: rgb(145, 124, 191);
/* oklch */ color: oklch(63.2% 0.101 297.9);
Tailwind
colors: {
  custom: {
    50: '#b2a2d2',
    500: '#917cbf',
    950: '#000000',
  },
}
SCSS
$custom: #917cbf;
$custom-light: #b2a2d2;
$custom-dark: #000000;
JSON
{
  "hex": "#917cbf",
  "rgb": {
    "r": 145,
    "g": 124,
    "b": 191
  },
  "hsl": {
    "h": 258.806,
    "s": 34.359,
    "l": 61.765
  },
  "oklch": {
    "l": 0.63188,
    "c": 0.10094,
    "h": 297.9
  },
  "luminance": 0.24197
}

Semantic roles & 50–950 ramp

primary
#917CBF
secondary
#D0D8BF
accent
#AD3889
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110F14
muted
#807E82

Preview Lab

Preview with #917CBF

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

Preview Lab → · Contrast checker → · Palette generator →

#917CBF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva