#935AEC#935AEC

#935AEC is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.3% C 0.210 H 297.7°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#935AEC
RGBrgb(147, 90, 236)
HSLhsl(263, 79%, 64%)
HSVhsv(263, 62%, 93%)
CMYKcmyk(37.7%, 61.9%, 0%, 7.5%)
CIE-LABlab(51.35, 53.23, -65.47)
CIE-LCHlch(51.35, 84.38, 309.11°)
OKLaboklab(60.35% 0.0979 -0.1863)
OKLCHoklch(60.35% 0.211 297.7)
XYZxyz(30.8253, 19.5710, 81.4942)
Luminance0.1957 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#935AEC #B3EC5A
analogous
#5A6AEC #935AEC #DC5AEC
triadic
#935AEC #EC935A #5AEC93
tetradic
#935AEC #EC5A6A #B3EC5A #5AECDC
square
#935AEC #EC5A6A #B3EC5A #5AECDC
split-complementary
#935AEC #ECDC5A #6AEC5A
monochromatic
#5415B7 #6F23E6 #935AEC #B791F2 #DBC8F9

Accessibility & contrast

On white

4.27
#935AEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#935AEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #935AEC
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##935AEC#FFFFFF#000000##000000
##935AEC1.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF1
Deuteranopia (green-blind)
#0D79E9
Tritanopia (blue-blind)
#7E7A9B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #935aec;
/* rgb */ color: rgb(147, 90, 236);
/* oklch */ color: oklch(60.3% 0.210 297.7);
Tailwind
colors: {
  custom: {
    50: '#b88bf3',
    500: '#935aec',
    950: '#000000',
  },
}
SCSS
$custom: #935aec;
$custom-light: #b88bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#935aec",
  "rgb": {
    "r": 147,
    "g": 90,
    "b": 236
  },
  "hsl": {
    "h": 263.425,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.60349,
    "c": 0.2105,
    "h": 297.7
  },
  "luminance": 0.19572
}

Semantic roles & 50–950 ramp

primary
#935AEC
secondary
#D7EBB7
accent
#DC0A8A
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #935AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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