#935FE3#935FE3

#935FE3 is a mid, vivid violet. Relative luminance 0.199; OKLCH L 60.5% C 0.193 H 298.6°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#935FE3
RGBrgb(147, 95, 227)
HSLhsl(264, 70%, 63%)
HSVhsv(264, 58%, 89%)
CMYKcmyk(35.2%, 58.1%, 0%, 11%)
CIE-LABlab(51.76, 48.31, -59.74)
CIE-LCHlch(51.76, 76.83, 308.96°)
OKLaboklab(60.47% 0.0925 -0.1695)
OKLCHoklch(60.47% 0.193 298.6)
XYZxyz(29.9865, 19.9332, 74.9258)
Luminance0.1993 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#935FE3 #AFE35F
analogous
#5F6DE3 #935FE3 #D55FE3
triadic
#935FE3 #E3935F #5FE393
tetradic
#935FE3 #E35F6D #AFE35F #5FE3D5
square
#935FE3 #E35F6D #AFE35F #5FE3D5
split-complementary
#935FE3 #E3D55F #6DE35F
monochromatic
#551EAA #702BDA #935FE3 #B693EC #D9C7F5

Accessibility & contrast

On white

4.21
#935FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#935FE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #935FE3
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##935FE3#FFFFFF#000000##000000
##935FE31.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#157BE7
Deuteranopia (green-blind)
#317AE0
Tritanopia (blue-blind)
#817B98
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #935fe3;
/* rgb */ color: rgb(147, 95, 227);
/* oklch */ color: oklch(60.5% 0.193 298.6);
Tailwind
colors: {
  custom: {
    50: '#b78eec',
    500: '#935fe3',
    950: '#000000',
  },
}
SCSS
$custom: #935fe3;
$custom-light: #b78eec;
$custom-dark: #000000;
JSON
{
  "hex": "#935fe3",
  "rgb": {
    "r": 147,
    "g": 95,
    "b": 227
  },
  "hsl": {
    "h": 263.636,
    "s": 70.213,
    "l": 63.137
  },
  "oklch": {
    "l": 0.60465,
    "c": 0.19313,
    "h": 298.6
  },
  "luminance": 0.19934
}

Semantic roles & 50–950 ramp

primary
#935FE3
secondary
#D4E7B7
accent
#D21387
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #935FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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