#935DE7#935DE7

#935DE7 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.4% C 0.201 H 298.2°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#935DE7
RGBrgb(147, 93, 231)
HSLhsl(263, 74%, 64%)
HSVhsv(263, 60%, 91%)
CMYKcmyk(36.4%, 59.7%, 0%, 9.4%)
CIE-LABlab(51.61, 50.39, -62.24)
CIE-LCHlch(51.61, 80.08, 308.99°)
OKLaboklab(60.44% 0.0948 -0.1768)
OKLCHoklch(60.44% 0.201 298.2)
XYZxyz(30.3672, 19.8009, 77.8079)
Luminance0.1980 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#935DE7 #B1E75D
analogous
#5D6CE7 #935DE7 #D85DE7
triadic
#935DE7 #E7935D #5DE793
tetradic
#935DE7 #E75D6C #B1E75D #5DE7D8
square
#935DE7 #E75D6C #B1E75D #5DE7D8
split-complementary
#935DE7 #E7D85D #6CE75D
monochromatic
#551AB0 #6F28DF #935DE7 #B792EF #DAC8F7

Accessibility & contrast

On white

4.23
#935DE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#935DE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #935DE7
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##935DE7#FFFFFF#000000##000000
##935DE71.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEB
Deuteranopia (green-blind)
#267AE4
Tritanopia (blue-blind)
#807B99
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #935de7;
/* rgb */ color: rgb(147, 93, 231);
/* oklch */ color: oklch(60.4% 0.201 298.2);
Tailwind
colors: {
  custom: {
    50: '#b88def',
    500: '#935de7',
    950: '#000000',
  },
}
SCSS
$custom: #935de7;
$custom-light: #b88def;
$custom-dark: #000000;
JSON
{
  "hex": "#935de7",
  "rgb": {
    "r": 147,
    "g": 93,
    "b": 231
  },
  "hsl": {
    "h": 263.478,
    "s": 74.194,
    "l": 63.529
  },
  "oklch": {
    "l": 0.60436,
    "c": 0.20064,
    "h": 298.2
  },
  "luminance": 0.19801
}

Semantic roles & 50–950 ramp

primary
#935DE7
secondary
#D5E8B7
accent
#D60F88
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #935DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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