#917FCC#917FCC

#917FCC is a light, moderate violet. Relative luminance 0.256; OKLCH L 64.4% C 0.114 H 293.7°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#917FCC
RGBrgb(145, 127, 204)
HSLhsl(254, 43%, 65%)
HSVhsv(254, 38%, 80%)
CMYKcmyk(28.9%, 37.7%, 0%, 20%)
CIE-LABlab(57.61, 23.74, -37.46)
CIE-LCHlch(57.61, 44.35, 302.36°)
OKLaboklab(64.4% 0.0459 -0.1045)
OKLCHoklch(64.4% 0.114 293.7)
XYZxyz(30.1628, 25.5577, 60.4590)
Luminance0.2556 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#917FCC #BACC7F
analogous
#7F93CC #917FCC #B87FCC
triadic
#917FCC #CC917F #7FCC91
tetradic
#917FCC #CC7F93 #BACC7F #7FCCB8
square
#917FCC #CC7F93 #BACC7F #7FCCB8
split-complementary
#917FCC #CCB87F #93CC7F
monochromatic
#503B95 #6B53BB #917FCC #B7ABDD #DCD7EF

Accessibility & contrast

On white

3.44
#917FCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#917FCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #917FCC
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##917FCC#FFFFFF#000000##000000
##917FCC1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8BCF
Deuteranopia (green-blind)
#6C89CA
Tritanopia (blue-blind)
#848D9C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #917fcc;
/* rgb */ color: rgb(145, 127, 204);
/* oklch */ color: oklch(64.4% 0.114 293.7);
Tailwind
colors: {
  custom: {
    50: '#b3a4dc',
    500: '#917fcc',
    950: '#000000',
  },
}
SCSS
$custom: #917fcc;
$custom-light: #b3a4dc;
$custom-dark: #000000;
JSON
{
  "hex": "#917fcc",
  "rgb": {
    "r": 145,
    "g": 127,
    "b": 204
  },
  "hsl": {
    "h": 254.026,
    "s": 43.017,
    "l": 64.902
  },
  "oklch": {
    "l": 0.64395,
    "c": 0.11413,
    "h": 293.7
  },
  "luminance": 0.25558
}

Semantic roles & 50–950 ramp

primary
#917FCC
secondary
#DAE1C6
accent
#B62F97
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#110F15
muted
#807F83

Preview Lab

Preview with #917FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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