#935CD6#935CD6

#935CD6 is a mid, vivid violet. Relative luminance 0.187; OKLCH L 59.2% C 0.182 H 301.9°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#935CD6
RGBrgb(147, 92, 214)
HSLhsl(267, 60%, 60%)
HSVhsv(267, 57%, 84%)
CMYKcmyk(31.3%, 57%, 0%, 16.1%)
CIE-LABlab(50.35, 46.68, -54.65)
CIE-LCHlch(50.35, 71.87, 310.51°)
OKLaboklab(59.17% 0.0962 -0.1545)
OKLCHoklch(59.17% 0.182 301.9)
XYZxyz(27.9946, 18.7123, 65.7423)
Luminance0.1871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#935CD6 #9FD65C
analogous
#5C62D6 #935CD6 #D05CD6
triadic
#935CD6 #D6935C #5CD693
tetradic
#935CD6 #D65C62 #9FD65C #5CD6D0
square
#935CD6 #D65C62 #9FD65C #5CD6D0
split-complementary
#935CD6 #D6D05C #62D65C
monochromatic
#562593 #7331C4 #935CD6 #B38DE2 #D4BEEF

Accessibility & contrast

On white

4.43
#935CD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#935CD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #935CD6
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##935CD6#FFFFFF#000000##000000
##935CD61.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2677DA
Deuteranopia (green-blind)
#3D77D3
Tritanopia (blue-blind)
#867490
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #935cd6;
/* rgb */ color: rgb(147, 92, 214);
/* oklch */ color: oklch(59.2% 0.182 301.9);
Tailwind
colors: {
  custom: {
    50: '#b68ce3',
    500: '#935cd6',
    950: '#000000',
  },
}
SCSS
$custom: #935cd6;
$custom-light: #b68ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#935cd6",
  "rgb": {
    "r": 147,
    "g": 92,
    "b": 214
  },
  "hsl": {
    "h": 267.049,
    "s": 59.804,
    "l": 60
  },
  "oklch": {
    "l": 0.59174,
    "c": 0.18206,
    "h": 301.9
  },
  "luminance": 0.18712
}

Semantic roles & 50–950 ramp

primary
#935CD6
secondary
#C9DEAF
accent
#E3459C
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120C15
muted
#817D84

Preview Lab

Preview with #935CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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