#935CD8#935CD8

#935CD8 is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.3% C 0.184 H 301.5°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#935CD8
RGBrgb(147, 92, 216)
HSLhsl(267, 61%, 60%)
HSVhsv(267, 57%, 85%)
CMYKcmyk(31.9%, 57.4%, 0%, 15.3%)
CIE-LABlab(50.47, 47.18, -55.59)
CIE-LCHlch(50.47, 72.91, 310.32°)
OKLaboklab(59.3% 0.0962 -0.1573)
OKLCHoklch(59.3% 0.184 301.5)
XYZxyz(28.2515, 18.8151, 67.0957)
Luminance0.1882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#935CD8 #A1D85C
analogous
#5C63D8 #935CD8 #D15CD8
triadic
#935CD8 #D8935C #5CD893
tetradic
#935CD8 #D85C63 #A1D85C #5CD8D1
square
#935CD8 #D85C63 #A1D85C #5CD8D1
split-complementary
#935CD8 #D8D15C #63D85C
monochromatic
#562496 #7330C7 #935CD8 #B48DE4 #D4BFF0

Accessibility & contrast

On white

4.41
#935CD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#935CD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #935CD8
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##935CD8#FFFFFF#000000##000000
##935CD81.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2377DC
Deuteranopia (green-blind)
#3A78D5
Tritanopia (blue-blind)
#857591
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #935cd8;
/* rgb */ color: rgb(147, 92, 216);
/* oklch */ color: oklch(59.3% 0.184 301.5);
Tailwind
colors: {
  custom: {
    50: '#b78ce5',
    500: '#935cd8',
    950: '#000000',
  },
}
SCSS
$custom: #935cd8;
$custom-light: #b78ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#935cd8",
  "rgb": {
    "r": 147,
    "g": 92,
    "b": 216
  },
  "hsl": {
    "h": 266.613,
    "s": 61.386,
    "l": 60.392
  },
  "oklch": {
    "l": 0.59302,
    "c": 0.18441,
    "h": 301.5
  },
  "luminance": 0.18815
}

Semantic roles & 50–950 ramp

primary
#935CD8
secondary
#CBE0B0
accent
#C91C7C
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #935CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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