#917CB2#917CB2

#917CB2 is a light, moderate violet. Relative luminance 0.236; OKLCH L 62.6% C 0.083 H 301.9°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#917CB2
RGBrgb(145, 124, 178)
HSLhsl(263, 26%, 59%)
HSVhsv(263, 30%, 70%)
CMYKcmyk(18.5%, 30.3%, 0%, 30.2%)
CIE-LABlab(55.73, 19.15, -25.58)
CIE-LCHlch(55.73, 31.95, 306.82°)
OKLaboklab(62.59% 0.0438 -0.0704)
OKLCHoklch(62.59% 0.083 301.9)
XYZxyz(26.9189, 23.6494, 45.2575)
Luminance0.2365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#917CB2 #9DB27C
analogous
#7C82B2 #917CB2 #AC7CB2
triadic
#917CB2 #B2917C #7CB291
tetradic
#917CB2 #B27C82 #9DB27C #7CB2AC
square
#917CB2 #B27C82 #9DB27C #7CB2AC
split-complementary
#917CB2 #B2AC7C #82B27C
monochromatic
#554271 #715998 #917CB2 #B1A3C9 #D2C9DF

Accessibility & contrast

On white

3.67
#917CB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#917CB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #917CB2
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##917CB2#FFFFFF#000000##000000
##917CB21.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7185B4
Deuteranopia (green-blind)
#7485B0
Tritanopia (blue-blind)
#8C848F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #917cb2;
/* rgb */ color: rgb(145, 124, 178);
/* oklch */ color: oklch(62.6% 0.083 301.9);
Tailwind
colors: {
  custom: {
    50: '#b2a2c9',
    500: '#917cb2',
    950: '#000000',
  },
}
SCSS
$custom: #917cb2;
$custom-light: #b2a2c9;
$custom-dark: #000000;
JSON
{
  "hex": "#917cb2",
  "rgb": {
    "r": 145,
    "g": 124,
    "b": 178
  },
  "hsl": {
    "h": 263.333,
    "s": 25.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.62587,
    "c": 0.0829,
    "h": 301.9
  },
  "luminance": 0.23649
}

Semantic roles & 50–950 ramp

primary
#917CB2
secondary
#C7CFBA
accent
#C2659E
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110F13
muted
#807E82

Preview Lab

Preview with #917CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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