#935EC7#935EC7

#935EC7 is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.6% C 0.161 H 305.3°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#935EC7
RGBrgb(147, 94, 199)
HSLhsl(270, 48%, 57%)
HSVhsv(270, 53%, 78%)
CMYKcmyk(26.1%, 52.8%, 0%, 22%)
CIE-LABlab(49.90, 41.95, -46.79)
CIE-LCHlch(49.90, 62.85, 311.88°)
OKLaboklab(58.56% 0.0931 -0.1315)
OKLCHoklch(58.56% 0.161 305.3)
XYZxyz(26.3419, 18.3321, 56.1725)
Luminance0.1833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#935EC7 #92C75E
analogous
#5F5EC7 #935EC7 #C75EC6
triadic
#935EC7 #C7935E #5EC793
tetradic
#935EC7 #C75F5E #92C75E #5EC6C7
square
#935EC7 #C75F5E #92C75E #5EC6C7
split-complementary
#935EC7 #C6C75E #5EC75F
monochromatic
#562C7F #743CAC #935EC7 #B18BD7 #D0B9E7

Accessibility & contrast

On white

4.50
#935EC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#935EC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #935EC7
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##935EC7#FFFFFF#000000##000000
##935EC71.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C75CB
Deuteranopia (green-blind)
#4D77C4
Tritanopia (blue-blind)
#8A718A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #935ec7;
/* rgb */ color: rgb(147, 94, 199);
/* oklch */ color: oklch(58.6% 0.161 305.3);
Tailwind
colors: {
  custom: {
    50: '#b58dd8',
    500: '#935ec7',
    950: '#000000',
  },
}
SCSS
$custom: #935ec7;
$custom-light: #b58dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#935ec7",
  "rgb": {
    "r": 147,
    "g": 94,
    "b": 199
  },
  "hsl": {
    "h": 270.286,
    "s": 48.387,
    "l": 57.451
  },
  "oklch": {
    "l": 0.5856,
    "c": 0.16114,
    "h": 305.3
  },
  "luminance": 0.18332
}

Semantic roles & 50–950 ramp

primary
#935EC7
secondary
#C0D6AB
accent
#D85093
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #935EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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