#935CD9#935CD9

#935CD9 is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.4% C 0.186 H 301.2°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#935CD9
RGBrgb(147, 92, 217)
HSLhsl(266, 62%, 61%)
HSVhsv(266, 58%, 85%)
CMYKcmyk(32.3%, 57.6%, 0%, 14.9%)
CIE-LABlab(50.53, 47.42, -56.06)
CIE-LCHlch(50.53, 73.43, 310.23°)
OKLaboklab(59.37% 0.0962 -0.1587)
OKLCHoklch(59.37% 0.186 301.2)
XYZxyz(28.3812, 18.8670, 67.7787)
Luminance0.1887 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#935CD9 #A2D95C
analogous
#5C63D9 #935CD9 #D15CD9
triadic
#935CD9 #D9935C #5CD993
tetradic
#935CD9 #D95C63 #A2D95C #5CD9D1
square
#935CD9 #D95C63 #A2D95C #5CD9D1
split-complementary
#935CD9 #D9D15C #63D95C
monochromatic
#562397 #732FC9 #935CD9 #B48EE5 #D5BFF0

Accessibility & contrast

On white

4.40
#935CD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#935CD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #935CD9
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##935CD9#FFFFFF#000000##000000
##935CD91.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2178DD
Deuteranopia (green-blind)
#3978D6
Tritanopia (blue-blind)
#857592
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #935cd9;
/* rgb */ color: rgb(147, 92, 217);
/* oklch */ color: oklch(59.4% 0.186 301.2);
Tailwind
colors: {
  custom: {
    50: '#b78ce5',
    500: '#935cd9',
    950: '#000000',
  },
}
SCSS
$custom: #935cd9;
$custom-light: #b78ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#935cd9",
  "rgb": {
    "r": 147,
    "g": 92,
    "b": 217
  },
  "hsl": {
    "h": 266.4,
    "s": 62.189,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59366,
    "c": 0.18559,
    "h": 301.2
  },
  "luminance": 0.18867
}

Semantic roles & 50–950 ramp

primary
#935CD9
secondary
#CBE0B1
accent
#CA1C7D
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #935CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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