#935FD9#935FD9

#935FD9 is a mid, vivid violet. Relative luminance 0.194; OKLCH L 59.8% C 0.181 H 300.7°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#935FD9
RGBrgb(147, 95, 217)
HSLhsl(266, 62%, 61%)
HSVhsv(266, 56%, 85%)
CMYKcmyk(32.3%, 56.2%, 0%, 14.9%)
CIE-LABlab(51.15, 45.80, -55.07)
CIE-LCHlch(51.15, 71.63, 309.75°)
OKLaboklab(59.82% 0.0925 -0.1558)
OKLCHoklch(59.82% 0.181 300.7)
XYZxyz(28.6463, 19.3971, 67.8670)
Luminance0.1940 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#935FD9 #A5D95F
analogous
#5F68D9 #935FD9 #D05FD9
triadic
#935FD9 #D9935F #5FD993
tetradic
#935FD9 #D95F68 #A5D95F #5FD9D0
square
#935FD9 #D95F68 #A5D95F #5FD9D0
split-complementary
#935FD9 #D9D05F #68D95F
monochromatic
#562499 #7230CB #935FD9 #B490E5 #D6C2F0

Accessibility & contrast

On white

4.30
#935FD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#935FD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #935FD9
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##935FD9#FFFFFF#000000##000000
##935FD91.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A79DD
Deuteranopia (green-blind)
#3E79D6
Tritanopia (blue-blind)
#857793
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #935fd9;
/* rgb */ color: rgb(147, 95, 217);
/* oklch */ color: oklch(59.8% 0.181 300.7);
Tailwind
colors: {
  custom: {
    50: '#b68ee5',
    500: '#935fd9',
    950: '#000000',
  },
}
SCSS
$custom: #935fd9;
$custom-light: #b68ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#935fd9",
  "rgb": {
    "r": 147,
    "g": 95,
    "b": 217
  },
  "hsl": {
    "h": 265.574,
    "s": 61.616,
    "l": 61.176
  },
  "oklch": {
    "l": 0.59819,
    "c": 0.1812,
    "h": 300.7
  },
  "luminance": 0.19397
}

Semantic roles & 50–950 ramp

primary
#935FD9
secondary
#CDE1B3
accent
#C91C80
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #935FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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