#935FE7#935FE7

#935FE7 is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.7% C 0.198 H 297.9°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#935FE7
RGBrgb(147, 95, 231)
HSLhsl(263, 74%, 64%)
HSVhsv(263, 59%, 91%)
CMYKcmyk(36.4%, 58.9%, 0%, 9.4%)
CIE-LABlab(52.01, 49.32, -61.59)
CIE-LCHlch(52.01, 78.90, 308.69°)
OKLaboklab(60.73% 0.0925 -0.1749)
OKLCHoklch(60.73% 0.198 297.9)
XYZxyz(30.5450, 20.1566, 77.8671)
Luminance0.2016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#935FE7 #B3E75F
analogous
#5F6FE7 #935FE7 #D75FE7
triadic
#935FE7 #E7935F #5FE793
tetradic
#935FE7 #E75F6F #B3E75F #5FE7D7
square
#935FE7 #E75F6F #B3E75F #5FE7D7
split-complementary
#935FE7 #E7D75F #6FE75F
monochromatic
#541BB1 #6F2ADF #935FE7 #B794EF #DBC9F7

Accessibility & contrast

On white

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

On black

5.03
#935FE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #935FE7
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##935FE7#FFFFFF#000000##000000
##935FE71.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#047CEB
Deuteranopia (green-blind)
#2A7BE4
Tritanopia (blue-blind)
#807C9A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #935fe7;
/* rgb */ color: rgb(147, 95, 231);
/* oklch */ color: oklch(60.7% 0.198 297.9);
Tailwind
colors: {
  custom: {
    50: '#b88eef',
    500: '#935fe7',
    950: '#000000',
  },
}
SCSS
$custom: #935fe7;
$custom-light: #b88eef;
$custom-dark: #000000;
JSON
{
  "hex": "#935fe7",
  "rgb": {
    "r": 147,
    "g": 95,
    "b": 231
  },
  "hsl": {
    "h": 262.941,
    "s": 73.913,
    "l": 63.922
  },
  "oklch": {
    "l": 0.6073,
    "c": 0.19787,
    "h": 297.9
  },
  "luminance": 0.20157
}

Semantic roles & 50–950 ramp

primary
#935FE7
secondary
#D7E9B9
accent
#D60F8A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #935FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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