#935EEB#935EEB

#935EEB is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 60.9% C 0.204 H 297.3°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#935EEB
RGBrgb(147, 94, 235)
HSLhsl(263, 78%, 65%)
HSVhsv(263, 60%, 92%)
CMYKcmyk(37.4%, 60%, 0%, 7.8%)
CIE-LABlab(52.07, 50.87, -63.74)
CIE-LCHlch(52.07, 81.55, 308.59°)
OKLaboklab(60.85% 0.0935 -0.1813)
OKLCHoklch(60.85% 0.204 297.3)
XYZxyz(31.0269, 20.2061, 80.8467)
Luminance0.2021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#935EEB #B6EB5E
analogous
#5E70EB #935EEB #DA5EEB
triadic
#935EEB #EB935E #5EEB93
tetradic
#935EEB #EB5E70 #B6EB5E #5EEBDA
square
#935EEB #EB5E70 #B6EB5E #5EEBDA
split-complementary
#935EEB #EBDA5E #70EB5E
monochromatic
#5317B8 #6E28E4 #935EEB #B894F2 #DCCBF9

Accessibility & contrast

On white

4.17
#935EEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#935EEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #935EEB
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##935EEB#FFFFFF#000000##000000
##935EEB1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF0
Deuteranopia (green-blind)
#207BE8
Tritanopia (blue-blind)
#7E7D9C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #935eeb;
/* rgb */ color: rgb(147, 94, 235);
/* oklch */ color: oklch(60.9% 0.204 297.3);
Tailwind
colors: {
  custom: {
    50: '#b88ef2',
    500: '#935eeb',
    950: '#000000',
  },
}
SCSS
$custom: #935eeb;
$custom-light: #b88ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#935eeb",
  "rgb": {
    "r": 147,
    "g": 94,
    "b": 235
  },
  "hsl": {
    "h": 262.553,
    "s": 77.901,
    "l": 64.51
  },
  "oklch": {
    "l": 0.60853,
    "c": 0.20395,
    "h": 297.3
  },
  "luminance": 0.20207
}

Semantic roles & 50–950 ramp

primary
#935EEB
secondary
#D8EBBA
accent
#DA0B8C
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #935EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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