#935EC2#935EC2

#935EC2 is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.3% C 0.155 H 306.7°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#935EC2
RGBrgb(147, 94, 194)
HSLhsl(272, 45%, 56%)
HSVhsv(272, 52%, 76%)
CMYKcmyk(24.2%, 51.5%, 0%, 23.9%)
CIE-LABlab(49.62, 40.77, -44.35)
CIE-LCHlch(49.62, 60.24, 312.59°)
OKLaboklab(58.27% 0.0927 -0.1244)
OKLCHoklch(58.27% 0.155 306.7)
XYZxyz(25.7709, 18.1037, 53.1652)
Luminance0.1810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#935EC2 #8DC25E
analogous
#615EC2 #935EC2 #C25EBF
triadic
#935EC2 #C2935E #5EC293
tetradic
#935EC2 #C2615E #8DC25E #5EBFC2
square
#935EC2 #C2615E #8DC25E #5EBFC2
split-complementary
#935EC2 #BFC25E #5EC261
monochromatic
#552E78 #743EA4 #935EC2 #B18AD3 #CFB7E4

Accessibility & contrast

On white

4.54
#935EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#935EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #935EC2
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##935EC2#FFFFFF#000000##000000
##935EC21.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4074C5
Deuteranopia (green-blind)
#5076BF
Tritanopia (blue-blind)
#8C7087
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #935ec2;
/* rgb */ color: rgb(147, 94, 194);
/* oklch */ color: oklch(58.3% 0.155 306.7);
Tailwind
colors: {
  custom: {
    50: '#b58dd5',
    500: '#935ec2',
    950: '#000000',
  },
}
SCSS
$custom: #935ec2;
$custom-light: #b58dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#935ec2",
  "rgb": {
    "r": 147,
    "g": 94,
    "b": 194
  },
  "hsl": {
    "h": 271.8,
    "s": 45.045,
    "l": 56.471
  },
  "oklch": {
    "l": 0.58268,
    "c": 0.15513,
    "h": 306.7
  },
  "luminance": 0.18103
}

Semantic roles & 50–950 ramp

primary
#935EC2
secondary
#BDD2A9
accent
#D55390
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #935EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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