#917CBB#917CBB

#917CBB is a light, moderate violet. Relative luminance 0.240; OKLCH L 63.0% C 0.095 H 299.0°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#917CBB
RGBrgb(145, 124, 187)
HSLhsl(260, 32%, 61%)
HSVhsv(260, 34%, 73%)
CMYKcmyk(22.5%, 33.7%, 0%, 26.7%)
CIE-LABlab(56.11, 21.29, -30.15)
CIE-LCHlch(56.11, 36.91, 305.22°)
OKLaboklab(63% 0.0462 -0.0834)
OKLCHoklch(63% 0.095 299)
XYZxyz(27.8524, 24.0228, 50.1736)
Luminance0.2402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#917CBB #A6BB7C
analogous
#7C86BB #917CBB #B07CBB
triadic
#917CBB #BB917C #7CBB91
tetradic
#917CBB #BB7C86 #A6BB7C #7CBBB0
square
#917CBB #BB7C86 #A6BB7C #7CBBB0
split-complementary
#917CBB #BBB07C #86BB7C
monochromatic
#54407C #7055A4 #917CBB #B3A4D0 #D5CDE5

Accessibility & contrast

On white

3.62
#917CBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#917CBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #917CBB
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##917CBB#FFFFFF#000000##000000
##917CBB1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D86BE
Deuteranopia (green-blind)
#7186B9
Tritanopia (blue-blind)
#898693
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #917cbb;
/* rgb */ color: rgb(145, 124, 187);
/* oklch */ color: oklch(63.0% 0.095 299.0);
Tailwind
colors: {
  custom: {
    50: '#b2a2cf',
    500: '#917cbb',
    950: '#000000',
  },
}
SCSS
$custom: #917cbb;
$custom-light: #b2a2cf;
$custom-dark: #000000;
JSON
{
  "hex": "#917cbb",
  "rgb": {
    "r": 145,
    "g": 124,
    "b": 187
  },
  "hsl": {
    "h": 260,
    "s": 31.658,
    "l": 60.98
  },
  "oklch": {
    "l": 0.62999,
    "c": 0.09538,
    "h": 299
  },
  "luminance": 0.24023
}

Semantic roles & 50–950 ramp

primary
#917CBB
secondary
#CDD5BE
accent
#AA3B85
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110F14
muted
#807E82

Preview Lab

Preview with #917CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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