#935FC4#935FC4

#935FC4 is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.5% C 0.156 H 305.9°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#935FC4
RGBrgb(147, 95, 196)
HSLhsl(271, 46%, 57%)
HSVhsv(271, 52%, 77%)
CMYKcmyk(25%, 51.5%, 0%, 23.1%)
CIE-LABlab(49.95, 40.69, -44.99)
CIE-LCHlch(49.95, 60.66, 312.13°)
OKLaboklab(58.54% 0.0915 -0.1263)
OKLCHoklch(58.54% 0.156 305.9)
XYZxyz(26.0866, 18.3732, 54.3860)
Luminance0.1837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#935FC4 #90C45F
analogous
#615FC4 #935FC4 #C45FC3
triadic
#935FC4 #C4935F #5FC493
tetradic
#935FC4 #C4615F #90C45F #5FC3C4
square
#935FC4 #C4615F #90C45F #5FC3C4
split-complementary
#935FC4 #C3C45F #5FC461
monochromatic
#552D7B #743EA8 #935FC4 #B18CD4 #CFB8E5

Accessibility & contrast

On white

4.49
#935FC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##935FC4#FFFFFF#000000##000000
##935FC41.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4075C7
Deuteranopia (green-blind)
#5077C1
Tritanopia (blue-blind)
#8B7189
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #935fc4;
/* rgb */ color: rgb(147, 95, 196);
/* oklch */ color: oklch(58.5% 0.156 305.9);
Tailwind
colors: {
  custom: {
    50: '#b58ed6',
    500: '#935fc4',
    950: '#000000',
  },
}
SCSS
$custom: #935fc4;
$custom-light: #b58ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#935fc4",
  "rgb": {
    "r": 147,
    "g": 95,
    "b": 196
  },
  "hsl": {
    "h": 270.891,
    "s": 46.119,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58543,
    "c": 0.15594,
    "h": 305.9
  },
  "luminance": 0.18373
}

Semantic roles & 50–950 ramp

primary
#935FC4
secondary
#BFD4AB
accent
#D65292
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #935FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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