#935FC2#935FC2

#935FC2 is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.4% C 0.154 H 306.5°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#935FC2
RGBrgb(147, 95, 194)
HSLhsl(272, 45%, 57%)
HSVhsv(272, 51%, 76%)
CMYKcmyk(24.2%, 51%, 0%, 23.9%)
CIE-LABlab(49.84, 40.21, -44.01)
CIE-LCHlch(49.84, 59.61, 312.42°)
OKLaboklab(58.43% 0.0913 -0.1234)
OKLCHoklch(58.43% 0.154 306.5)
XYZxyz(25.8604, 18.2827, 53.1950)
Luminance0.1828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#935FC2 #8EC25F
analogous
#625FC2 #935FC2 #C25FC0
triadic
#935FC2 #C2935F #5FC293
tetradic
#935FC2 #C2625F #8EC25F #5FC0C2
square
#935FC2 #C2625F #8EC25F #5FC0C2
split-complementary
#935FC2 #C0C25F #5FC262
monochromatic
#552E79 #743FA5 #935FC2 #B18BD3 #CFB8E4

Accessibility & contrast

On white

4.51
#935FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#935FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #935FC2
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##935FC2#FFFFFF#000000##000000
##935FC21.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4275C5
Deuteranopia (green-blind)
#5177C0
Tritanopia (blue-blind)
#8C7088
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #935fc2;
/* rgb */ color: rgb(147, 95, 194);
/* oklch */ color: oklch(58.4% 0.154 306.5);
Tailwind
colors: {
  custom: {
    50: '#b58ed5',
    500: '#935fc2',
    950: '#000000',
  },
}
SCSS
$custom: #935fc2;
$custom-light: #b58ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#935fc2",
  "rgb": {
    "r": 147,
    "g": 95,
    "b": 194
  },
  "hsl": {
    "h": 271.515,
    "s": 44.796,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58427,
    "c": 0.15353,
    "h": 306.5
  },
  "luminance": 0.18283
}

Semantic roles & 50–950 ramp

primary
#935FC2
secondary
#BDD3AA
accent
#D45391
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #935FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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