#935CD3#935CD3

#935CD3 is a mid, vivid violet. Relative luminance 0.186; OKLCH L 59.0% C 0.179 H 302.6°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#935CD3
RGBrgb(147, 92, 211)
HSLhsl(268, 57%, 59%)
HSVhsv(268, 56%, 83%)
CMYKcmyk(30.3%, 56.4%, 0%, 17.3%)
CIE-LABlab(50.17, 45.95, -53.23)
CIE-LCHlch(50.17, 70.32, 310.80°)
OKLaboklab(58.98% 0.0962 -0.1504)
OKLCHoklch(58.98% 0.179 302.6)
XYZxyz(27.6150, 18.5605, 63.7431)
Luminance0.1856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#935CD3 #9CD35C
analogous
#5C61D3 #935CD3 #CF5CD3
triadic
#935CD3 #D3935C #5CD393
tetradic
#935CD3 #D35C61 #9CD35C #5CD3CF
square
#935CD3 #D35C61 #9CD35C #5CD3CF
split-complementary
#935CD3 #D3CF5C #61D35C
monochromatic
#56268E #7433BE #935CD3 #B38CE0 #D3BCED

Accessibility & contrast

On white

4.46
#935CD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#935CD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #935CD3
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##935CD3#FFFFFF#000000##000000
##935CD31.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A76D7
Deuteranopia (green-blind)
#4077D0
Tritanopia (blue-blind)
#87738F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #935cd3;
/* rgb */ color: rgb(147, 92, 211);
/* oklch */ color: oklch(59.0% 0.179 302.6);
Tailwind
colors: {
  custom: {
    50: '#b68ce1',
    500: '#935cd3',
    950: '#000000',
  },
}
SCSS
$custom: #935cd3;
$custom-light: #b68ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#935cd3",
  "rgb": {
    "r": 147,
    "g": 92,
    "b": 211
  },
  "hsl": {
    "h": 267.731,
    "s": 57.488,
    "l": 59.412
  },
  "oklch": {
    "l": 0.58984,
    "c": 0.17851,
    "h": 302.6
  },
  "luminance": 0.1856
}

Semantic roles & 50–950 ramp

primary
#935CD3
secondary
#C7DDAE
accent
#E1479A
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #935CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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