#937BC7#937BC7

#937BC7 is a light, moderate violet. Relative luminance 0.245; OKLCH L 63.6% C 0.114 H 297.6°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#937BC7
RGBrgb(147, 123, 199)
HSLhsl(259, 40%, 63%)
HSVhsv(259, 38%, 78%)
CMYKcmyk(26.1%, 38.2%, 0%, 22%)
CIE-LABlab(56.58, 25.40, -36.24)
CIE-LCHlch(56.58, 44.26, 305.02°)
OKLaboklab(63.57% 0.0528 -0.1009)
OKLCHoklch(63.57% 0.114 297.6)
XYZxyz(29.4220, 24.4922, 57.1992)
Luminance0.2449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#937BC7 #AFC77B
analogous
#7B89C7 #937BC7 #B97BC7
triadic
#937BC7 #C7937B #7BC793
tetradic
#937BC7 #C77B89 #AFC77B #7BC7B9
square
#937BC7 #C77B89 #AFC77B #7BC7B9
split-complementary
#937BC7 #C7B97B #89C77B
monochromatic
#553B8C #7050B5 #937BC7 #B6A6D9 #D9D1EB

Accessibility & contrast

On white

3.56
#937BC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#937BC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #937BC7
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##937BC7#FFFFFF#000000##000000
##937BC71.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6788CA
Deuteranopia (green-blind)
#6B87C5
Tritanopia (blue-blind)
#898898
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #937bc7;
/* rgb */ color: rgb(147, 123, 199);
/* oklch */ color: oklch(63.6% 0.114 297.6);
Tailwind
colors: {
  custom: {
    50: '#b4a1d8',
    500: '#937bc7',
    950: '#000000',
  },
}
SCSS
$custom: #937bc7;
$custom-light: #b4a1d8;
$custom-dark: #000000;
JSON
{
  "hex": "#937bc7",
  "rgb": {
    "r": 147,
    "g": 123,
    "b": 199
  },
  "hsl": {
    "h": 258.947,
    "s": 40.426,
    "l": 63.137
  },
  "oklch": {
    "l": 0.63573,
    "c": 0.11392,
    "h": 297.6
  },
  "luminance": 0.24492
}

Semantic roles & 50–950 ramp

primary
#937BC7
secondary
#D4DDC1
accent
#B3328B
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110F14
muted
#807E83

Preview Lab

Preview with #937BC7

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

Preview Lab → · Contrast checker → · Palette generator →

#937BC7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva