#935FDB#935FDB

#935FDB is a mid, vivid violet. Relative luminance 0.195; OKLCH L 59.9% C 0.184 H 300.3°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#935FDB
RGBrgb(147, 95, 219)
HSLhsl(265, 63%, 62%)
HSVhsv(265, 57%, 86%)
CMYKcmyk(32.9%, 56.6%, 0%, 14.1%)
CIE-LABlab(51.27, 46.30, -56.01)
CIE-LCHlch(51.27, 72.67, 309.58°)
OKLaboklab(59.95% 0.0926 -0.1585)
OKLCHoklch(59.95% 0.184 300.3)
XYZxyz(28.9080, 19.5017, 69.2453)
Luminance0.1950 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#935FDB #A7DB5F
analogous
#5F69DB #935FDB #D15FDB
triadic
#935FDB #DB935F #5FDB93
tetradic
#935FDB #DB5F69 #A7DB5F #5FDBD1
square
#935FDB #DB5F69 #A7DB5F #5FDBD1
split-complementary
#935FDB #DBD15F #69DB5F
monochromatic
#56239C #722ECE #935FDB #B591E6 #D6C3F1

Accessibility & contrast

On white

4.29
#935FDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#935FDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #935FDB
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##935FDB#FFFFFF#000000##000000
##935FDB1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#267ADF
Deuteranopia (green-blind)
#3B79D8
Tritanopia (blue-blind)
#847894
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #935fdb;
/* rgb */ color: rgb(147, 95, 219);
/* oklch */ color: oklch(59.9% 0.184 300.3);
Tailwind
colors: {
  custom: {
    50: '#b78ee7',
    500: '#935fdb',
    950: '#000000',
  },
}
SCSS
$custom: #935fdb;
$custom-light: #b78ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#935fdb",
  "rgb": {
    "r": 147,
    "g": 95,
    "b": 219
  },
  "hsl": {
    "h": 265.161,
    "s": 63.265,
    "l": 61.569
  },
  "oklch": {
    "l": 0.59946,
    "c": 0.18359,
    "h": 300.3
  },
  "luminance": 0.19502
}

Semantic roles & 50–950 ramp

primary
#935FDB
secondary
#CFE2B4
accent
#CB1A81
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #935FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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