#935CD5#935CD5

#935CD5 is a mid, vivid violet. Relative luminance 0.187; OKLCH L 59.1% C 0.181 H 302.1°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#935CD5
RGBrgb(147, 92, 213)
HSLhsl(267, 59%, 60%)
HSVhsv(267, 57%, 84%)
CMYKcmyk(31%, 56.8%, 0%, 16.5%)
CIE-LABlab(50.29, 46.44, -54.17)
CIE-LCHlch(50.29, 71.35, 310.60°)
OKLaboklab(59.11% 0.0962 -0.1532)
OKLCHoklch(59.11% 0.181 302.1)
XYZxyz(27.8672, 18.6614, 65.0718)
Luminance0.1866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#935CD5 #9ED55C
analogous
#5C62D5 #935CD5 #D05CD5
triadic
#935CD5 #D5935C #5CD593
tetradic
#935CD5 #D55C62 #9ED55C #5CD5D0
square
#935CD5 #D55C62 #9ED55C #5CD5D0
split-complementary
#935CD5 #D5D05C #62D55C
monochromatic
#562591 #7332C2 #935CD5 #B38DE2 #D3BDEE

Accessibility & contrast

On white

4.44
#935CD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#935CD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #935CD5
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##935CD5#FFFFFF#000000##000000
##935CD51.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2877D9
Deuteranopia (green-blind)
#3E77D2
Tritanopia (blue-blind)
#867490
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #935cd5;
/* rgb */ color: rgb(147, 92, 213);
/* oklch */ color: oklch(59.1% 0.181 302.1);
Tailwind
colors: {
  custom: {
    50: '#b68ce2',
    500: '#935cd5',
    950: '#000000',
  },
}
SCSS
$custom: #935cd5;
$custom-light: #b68ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#935cd5",
  "rgb": {
    "r": 147,
    "g": 92,
    "b": 213
  },
  "hsl": {
    "h": 267.273,
    "s": 59.024,
    "l": 59.804
  },
  "oklch": {
    "l": 0.5911,
    "c": 0.18088,
    "h": 302.1
  },
  "luminance": 0.18661
}

Semantic roles & 50–950 ramp

primary
#935CD5
secondary
#C9DEAF
accent
#E2469B
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #935CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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