#935BC7#935BC7

#935BC7 is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.1% C 0.166 H 305.8°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#935BC7
RGBrgb(147, 91, 199)
HSLhsl(271, 49%, 57%)
HSVhsv(271, 54%, 78%)
CMYKcmyk(26.1%, 54.3%, 0%, 22%)
CIE-LABlab(49.26, 43.60, -47.80)
CIE-LCHlch(49.26, 64.70, 312.37°)
OKLaboklab(58.09% 0.0971 -0.1345)
OKLCHoklch(58.09% 0.166 305.8)
XYZxyz(26.0803, 17.8089, 56.0853)
Luminance0.1781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#935BC7 #8FC75B
analogous
#5D5BC7 #935BC7 #C75BC5
triadic
#935BC7 #C7935B #5BC793
tetradic
#935BC7 #C75D5B #8FC75B #5BC5C7
square
#935BC7 #C75D5B #8FC75B #5BC5C7
split-complementary
#935BC7 #C5C75B #5BC75D
monochromatic
#552B7D #743AAB #935BC7 #B189D7 #CFB6E6

Accessibility & contrast

On white

4.60
#935BC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#935BC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #935BC7
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##935BC7#FFFFFF#000000##FFFFFF
##935BC71.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3773CB
Deuteranopia (green-blind)
#4975C4
Tritanopia (blue-blind)
#8B6F88
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #935bc7;
/* rgb */ color: rgb(147, 91, 199);
/* oklch */ color: oklch(58.1% 0.166 305.8);
Tailwind
colors: {
  custom: {
    50: '#b58bd8',
    500: '#935bc7',
    950: '#000000',
  },
}
SCSS
$custom: #935bc7;
$custom-light: #b58bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#935bc7",
  "rgb": {
    "r": 147,
    "g": 91,
    "b": 199
  },
  "hsl": {
    "h": 271.111,
    "s": 49.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.58093,
    "c": 0.16584,
    "h": 305.8
  },
  "luminance": 0.17809
}

Semantic roles & 50–950 ramp

primary
#935BC7
secondary
#BED5A9
accent
#D94F91
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #935BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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