#935DF7#935DF7

#935DF7 is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.5% C 0.219 H 295.3°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#935DF7
RGBrgb(147, 93, 247)
HSLhsl(261, 91%, 67%)
HSVhsv(261, 62%, 97%)
CMYKcmyk(40.5%, 62.3%, 0%, 3.1%)
CIE-LABlab(52.67, 54.47, -69.48)
CIE-LCHlch(52.67, 88.28, 308.10°)
OKLaboklab(61.54% 0.0939 -0.1981)
OKLCHoklch(61.54% 0.219 295.3)
XYZxyz(32.7310, 20.7464, 90.2576)
Luminance0.2075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#935DF7 #C1F75D
analogous
#5D74F7 #935DF7 #E05DF7
triadic
#935DF7 #F7935D #5DF793
tetradic
#935DF7 #F75D74 #C1F75D #5DF7E0
square
#935DF7 #F75D74 #C1F75D #5DF7E0
split-complementary
#935DF7 #F7E05D #74F75D
monochromatic
#4F0ACF #6C23F4 #935DF7 #BA97FA #E1D2FD

Accessibility & contrast

On white

4.08
#935DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#935DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #935DF7
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##935DF7#FFFFFF#000000##000000
##935DF71.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFC
Deuteranopia (green-blind)
#007BF4
Tritanopia (blue-blind)
#7980A2
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #935df7;
/* rgb */ color: rgb(147, 93, 247);
/* oklch */ color: oklch(61.5% 0.219 295.3);
Tailwind
colors: {
  custom: {
    50: '#b98dfb',
    500: '#935df7',
    950: '#000000',
  },
}
SCSS
$custom: #935df7;
$custom-light: #b98dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#935df7",
  "rgb": {
    "r": 147,
    "g": 93,
    "b": 247
  },
  "hsl": {
    "h": 261.039,
    "s": 90.588,
    "l": 66.667
  },
  "oklch": {
    "l": 0.61543,
    "c": 0.21923,
    "h": 295.3
  },
  "luminance": 0.20747
}

Semantic roles & 50–950 ramp

primary
#935DF7
secondary
#DFF1BF
accent
#E60095
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #935DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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