#935CD7#935CD7

#935CD7 is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.2% C 0.183 H 301.7°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#935CD7
RGBrgb(147, 92, 215)
HSLhsl(267, 61%, 60%)
HSVhsv(267, 57%, 84%)
CMYKcmyk(31.6%, 57.2%, 0%, 15.7%)
CIE-LABlab(50.41, 46.93, -55.12)
CIE-LCHlch(50.41, 72.39, 310.41°)
OKLaboklab(59.24% 0.0962 -0.1559)
OKLCHoklch(59.24% 0.183 301.7)
XYZxyz(28.1227, 18.7635, 66.4169)
Luminance0.1876 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#935CD7 #A0D75C
analogous
#5C63D7 #935CD7 #D05CD7
triadic
#935CD7 #D7935C #5CD793
tetradic
#935CD7 #D75C63 #A0D75C #5CD7D0
square
#935CD7 #D75C63 #A0D75C #5CD7D0
split-complementary
#935CD7 #D7D05C #63D75C
monochromatic
#562494 #7330C5 #935CD7 #B48DE3 #D4BEEF

Accessibility & contrast

On white

4.42
#935CD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#935CD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #935CD7
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##935CD7#FFFFFF#000000##000000
##935CD71.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2477DB
Deuteranopia (green-blind)
#3B77D4
Tritanopia (blue-blind)
#867591
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #935cd7;
/* rgb */ color: rgb(147, 92, 215);
/* oklch */ color: oklch(59.2% 0.183 301.7);
Tailwind
colors: {
  custom: {
    50: '#b68ce4',
    500: '#935cd7',
    950: '#000000',
  },
}
SCSS
$custom: #935cd7;
$custom-light: #b68ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#935cd7",
  "rgb": {
    "r": 147,
    "g": 92,
    "b": 215
  },
  "hsl": {
    "h": 266.829,
    "s": 60.591,
    "l": 60.196
  },
  "oklch": {
    "l": 0.59238,
    "c": 0.18323,
    "h": 301.7
  },
  "luminance": 0.18764
}

Semantic roles & 50–950 ramp

primary
#935CD7
secondary
#CADFB0
accent
#C81D7C
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #935CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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