#935BDB#935BDB

#935BDB is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.3% C 0.189 H 301.0°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#935BDB
RGBrgb(147, 91, 219)
HSLhsl(266, 64%, 61%)
HSVhsv(266, 58%, 86%)
CMYKcmyk(32.9%, 58.4%, 0%, 14.1%)
CIE-LABlab(50.45, 48.45, -57.32)
CIE-LCHlch(50.45, 75.06, 310.21°)
OKLaboklab(59.35% 0.0974 -0.1624)
OKLCHoklch(59.35% 0.189 301)
XYZxyz(28.5569, 18.7995, 69.1283)
Luminance0.1880 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#935BDB #A3DB5B
analogous
#5B63DB #935BDB #D35BDB
triadic
#935BDB #DB935B #5BDB93
tetradic
#935BDB #DB5B63 #A3DB5B #5BDBD3
square
#935BDB #DB5B63 #A3DB5B #5BDBD3
split-complementary
#935BDB #DBD35B #63DB5B
monochromatic
#56229A #722DCC #935BDB #B48DE6 #D5BFF1

Accessibility & contrast

On white

4.41
#935BDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#935BDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #935BDB
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##935BDB#FFFFFF#000000##000000
##935BDB1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1977DF
Deuteranopia (green-blind)
#3577D8
Tritanopia (blue-blind)
#847592
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #935bdb;
/* rgb */ color: rgb(147, 91, 219);
/* oklch */ color: oklch(59.3% 0.189 301.0);
Tailwind
colors: {
  custom: {
    50: '#b78ce7',
    500: '#935bdb',
    950: '#000000',
  },
}
SCSS
$custom: #935bdb;
$custom-light: #b78ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#935bdb",
  "rgb": {
    "r": 147,
    "g": 91,
    "b": 219
  },
  "hsl": {
    "h": 266.25,
    "s": 64,
    "l": 60.784
  },
  "oklch": {
    "l": 0.59347,
    "c": 0.18939,
    "h": 301
  },
  "luminance": 0.188
}

Semantic roles & 50–950 ramp

primary
#935BDB
secondary
#CCE1B1
accent
#CC1A7E
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #935BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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