#935BE7#935BE7

#935BE7 is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.1% C 0.203 H 298.5°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#935BE7
RGBrgb(147, 91, 231)
HSLhsl(264, 74%, 63%)
HSVhsv(264, 61%, 91%)
CMYKcmyk(36.4%, 60.6%, 0%, 9.4%)
CIE-LABlab(51.21, 51.45, -62.88)
CIE-LCHlch(51.21, 81.24, 309.29°)
OKLaboklab(60.15% 0.0971 -0.1787)
OKLCHoklch(60.15% 0.203 298.5)
XYZxyz(30.1939, 19.4544, 77.7501)
Luminance0.1946 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#935BE7 #AFE75B
analogous
#5B69E7 #935BE7 #D95BE7
triadic
#935BE7 #E7935B #5BE793
tetradic
#935BE7 #E75B69 #AFE75B #5BE7D9
square
#935BE7 #E75B69 #AFE75B #5BE7D9
split-complementary
#935BE7 #E7D95B #69E75B
monochromatic
#5519AE #7026DF #935BE7 #B690EF #D9C6F7

Accessibility & contrast

On white

4.29
#935BE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#935BE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #935BE7
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##935BE7#FFFFFF#000000##000000
##935BE71.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEB
Deuteranopia (green-blind)
#2179E4
Tritanopia (blue-blind)
#807999
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #935be7;
/* rgb */ color: rgb(147, 91, 231);
/* oklch */ color: oklch(60.1% 0.203 298.5);
Tailwind
colors: {
  custom: {
    50: '#b88cef',
    500: '#935be7',
    950: '#000000',
  },
}
SCSS
$custom: #935be7;
$custom-light: #b88cef;
$custom-dark: #000000;
JSON
{
  "hex": "#935be7",
  "rgb": {
    "r": 147,
    "g": 91,
    "b": 231
  },
  "hsl": {
    "h": 264,
    "s": 74.468,
    "l": 63.137
  },
  "oklch": {
    "l": 0.60147,
    "c": 0.20338,
    "h": 298.5
  },
  "luminance": 0.19455
}

Semantic roles & 50–950 ramp

primary
#935BE7
secondary
#D4E8B6
accent
#D70F87
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #935BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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