#935FE4#935FE4

#935FE4 is a mid, vivid violet. Relative luminance 0.200; OKLCH L 60.5% C 0.194 H 298.4°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#935FE4
RGBrgb(147, 95, 228)
HSLhsl(263, 71%, 63%)
HSVhsv(263, 58%, 89%)
CMYKcmyk(35.5%, 58.3%, 0%, 10.6%)
CIE-LABlab(51.82, 48.56, -60.20)
CIE-LCHlch(51.82, 77.35, 308.89°)
OKLaboklab(60.53% 0.0925 -0.1709)
OKLCHoklch(60.53% 0.194 298.4)
XYZxyz(30.1249, 19.9885, 75.6548)
Luminance0.1999 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#935FE4 #B0E45F
analogous
#5F6DE4 #935FE4 #D65FE4
triadic
#935FE4 #E4935F #5FE493
tetradic
#935FE4 #E45F6D #B0E45F #5FE4D6
square
#935FE4 #E45F6D #B0E45F #5FE4D6
split-complementary
#935FE4 #E4D65F #6DE45F
monochromatic
#551DAC #702BDB #935FE4 #B693ED #DAC8F6

Accessibility & contrast

On white

4.20
#935FE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#935FE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #935FE4
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##935FE4#FFFFFF#000000##000000
##935FE41.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#127CE8
Deuteranopia (green-blind)
#2F7AE1
Tritanopia (blue-blind)
#817B99
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #935fe4;
/* rgb */ color: rgb(147, 95, 228);
/* oklch */ color: oklch(60.5% 0.194 298.4);
Tailwind
colors: {
  custom: {
    50: '#b78eed',
    500: '#935fe4',
    950: '#000000',
  },
}
SCSS
$custom: #935fe4;
$custom-light: #b78eed;
$custom-dark: #000000;
JSON
{
  "hex": "#935fe4",
  "rgb": {
    "r": 147,
    "g": 95,
    "b": 228
  },
  "hsl": {
    "h": 263.459,
    "s": 71.123,
    "l": 63.333
  },
  "oklch": {
    "l": 0.60531,
    "c": 0.19432,
    "h": 298.4
  },
  "luminance": 0.19989
}

Semantic roles & 50–950 ramp

primary
#935FE4
secondary
#D5E7B8
accent
#D31288
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #935FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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