#935DEF#935DEF

#935DEF is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.0% C 0.210 H 296.7°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#935DEF
RGBrgb(147, 93, 239)
HSLhsl(262, 82%, 65%)
HSVhsv(262, 61%, 94%)
CMYKcmyk(38.5%, 61.1%, 0%, 6.3%)
CIE-LABlab(52.13, 52.42, -65.88)
CIE-LCHlch(52.13, 84.19, 308.51°)
OKLaboklab(60.98% 0.0944 -0.1876)
OKLCHoklch(60.98% 0.21 296.7)
XYZxyz(31.5229, 20.2632, 83.8950)
Luminance0.2026 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#935DEF #B9EF5D
analogous
#5D70EF #935DEF #DC5DEF
triadic
#935DEF #EF935D #5DEF93
tetradic
#935DEF #EF5D70 #B9EF5D #5DEFDC
square
#935DEF #EF5D70 #B9EF5D #5DEFDC
split-complementary
#935DEF #EFDC5D #70EF5D
monochromatic
#5213BF #6E25E9 #935DEF #B895F5 #DDCCFA

Accessibility & contrast

On white

4.16
#935DEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#935DEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #935DEF
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##935DEF#FFFFFF#000000##000000
##935DEF1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF4
Deuteranopia (green-blind)
#0F7AEC
Tritanopia (blue-blind)
#7D7D9D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #935def;
/* rgb */ color: rgb(147, 93, 239);
/* oklch */ color: oklch(61.0% 0.210 296.7);
Tailwind
colors: {
  custom: {
    50: '#b88df5',
    500: '#935def',
    950: '#000000',
  },
}
SCSS
$custom: #935def;
$custom-light: #b88df5;
$custom-dark: #000000;
JSON
{
  "hex": "#935def",
  "rgb": {
    "r": 147,
    "g": 93,
    "b": 239
  },
  "hsl": {
    "h": 262.192,
    "s": 82.022,
    "l": 65.098
  },
  "oklch": {
    "l": 0.60983,
    "c": 0.20998,
    "h": 296.7
  },
  "luminance": 0.20264
}

Semantic roles & 50–950 ramp

primary
#935DEF
secondary
#DAEDBB
accent
#DE078F
background
#FBF8FF
surface
#F7F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #935DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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