#935FC7#935FC7

#935FC7 is a mid, vivid violet. Relative luminance 0.185; OKLCH L 58.7% C 0.160 H 305.1°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#935FC7
RGBrgb(147, 95, 199)
HSLhsl(270, 48%, 58%)
HSVhsv(270, 52%, 78%)
CMYKcmyk(26.1%, 52.3%, 0%, 22%)
CIE-LABlab(50.11, 41.40, -46.45)
CIE-LCHlch(50.11, 62.22, 311.71°)
OKLaboklab(58.72% 0.0917 -0.1305)
OKLCHoklch(58.72% 0.16 305.1)
XYZxyz(26.4314, 18.5111, 56.2023)
Luminance0.1851 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#935FC7 #93C75F
analogous
#5F5FC7 #935FC7 #C75FC7
triadic
#935FC7 #C7935F #5FC793
tetradic
#935FC7 #C75F5F #93C75F #5FC7C7
square
#935FC7 #C75F5F #93C75F #5FC7C7
split-complementary
#935FC7 #C7C75F #5FC75F
monochromatic
#562C7F #743CAC #935FC7 #B28CD7 #D0BAE7

Accessibility & contrast

On white

4.47
#935FC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#935FC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #935FC7
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##935FC7#FFFFFF#000000##000000
##935FC71.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E76CB
Deuteranopia (green-blind)
#4E77C4
Tritanopia (blue-blind)
#8A728A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #935fc7;
/* rgb */ color: rgb(147, 95, 199);
/* oklch */ color: oklch(58.7% 0.160 305.1);
Tailwind
colors: {
  custom: {
    50: '#b58ed8',
    500: '#935fc7',
    950: '#000000',
  },
}
SCSS
$custom: #935fc7;
$custom-light: #b58ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#935fc7",
  "rgb": {
    "r": 147,
    "g": 95,
    "b": 199
  },
  "hsl": {
    "h": 270,
    "s": 48.148,
    "l": 57.647
  },
  "oklch": {
    "l": 0.58718,
    "c": 0.15955,
    "h": 305.1
  },
  "luminance": 0.18511
}

Semantic roles & 50–950 ramp

primary
#935FC7
secondary
#C1D6AC
accent
#D85094
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #935FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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