#935FD7#935FD7

#935FD7 is a mid, vivid violet. Relative luminance 0.193; OKLCH L 59.7% C 0.179 H 301.2°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#935FD7
RGBrgb(147, 95, 215)
HSLhsl(266, 60%, 61%)
HSVhsv(266, 56%, 84%)
CMYKcmyk(31.6%, 55.8%, 0%, 15.7%)
CIE-LABlab(51.03, 45.30, -54.13)
CIE-LCHlch(51.03, 70.58, 309.93°)
OKLaboklab(59.69% 0.0925 -0.153)
OKLCHoklch(59.69% 0.179 301.2)
XYZxyz(28.3877, 19.2936, 66.5053)
Luminance0.1929 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#935FD7 #A3D75F
analogous
#5F67D7 #935FD7 #CF5FD7
triadic
#935FD7 #D7935F #5FD793
tetradic
#935FD7 #D75F67 #A3D75F #5FD7CF
square
#935FD7 #D75F67 #A3D75F #5FD7CF
split-complementary
#935FD7 #D7CF5F #67D75F
monochromatic
#562696 #7232C7 #935FD7 #B490E3 #D5C1EF

Accessibility & contrast

On white

4.32
#935FD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#935FD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #935FD7
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##935FD7#FFFFFF#000000##000000
##935FD71.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C79DB
Deuteranopia (green-blind)
#4079D4
Tritanopia (blue-blind)
#857792
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #935fd7;
/* rgb */ color: rgb(147, 95, 215);
/* oklch */ color: oklch(59.7% 0.179 301.2);
Tailwind
colors: {
  custom: {
    50: '#b68ee4',
    500: '#935fd7',
    950: '#000000',
  },
}
SCSS
$custom: #935fd7;
$custom-light: #b68ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#935fd7",
  "rgb": {
    "r": 147,
    "g": 95,
    "b": 215
  },
  "hsl": {
    "h": 266,
    "s": 60,
    "l": 60.784
  },
  "oklch": {
    "l": 0.59693,
    "c": 0.17881,
    "h": 301.2
  },
  "luminance": 0.19294
}

Semantic roles & 50–950 ramp

primary
#935FD7
secondary
#CCE0B2
accent
#C81E7E
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #935FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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