#935BCB#935BCB

#935BCB is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.3% C 0.171 H 304.8°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#935BCB
RGBrgb(147, 91, 203)
HSLhsl(270, 52%, 58%)
HSVhsv(270, 55%, 80%)
CMYKcmyk(27.6%, 55.2%, 0%, 20.4%)
CIE-LABlab(49.49, 44.56, -49.73)
CIE-LCHlch(49.49, 66.77, 311.86°)
OKLaboklab(58.34% 0.0972 -0.1401)
OKLCHoklch(58.34% 0.171 304.8)
XYZxyz(26.5509, 17.9971, 58.5634)
Luminance0.1800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#935BCB #93CB5B
analogous
#5B5BCB #935BCB #CB5BCB
triadic
#935BCB #CB935B #5BCB93
tetradic
#935BCB #CB5B5B #93CB5B #5BCBCB
square
#935BCB #CB5B5B #93CB5B #5BCBCB
split-complementary
#935BCB #CBCB5B #5BCB5B
monochromatic
#562982 #7438B1 #935BCB #B289DA #D0B8E8

Accessibility & contrast

On white

4.57
#935BCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#935BCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #935BCB
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##935BCB#FFFFFF#000000##000000
##935BCB1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3274CF
Deuteranopia (green-blind)
#4676C8
Tritanopia (blue-blind)
#89708A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #935bcb;
/* rgb */ color: rgb(147, 91, 203);
/* oklch */ color: oklch(58.3% 0.171 304.8);
Tailwind
colors: {
  custom: {
    50: '#b68bdb',
    500: '#935bcb',
    950: '#000000',
  },
}
SCSS
$custom: #935bcb;
$custom-light: #b68bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#935bcb",
  "rgb": {
    "r": 147,
    "g": 91,
    "b": 203
  },
  "hsl": {
    "h": 270,
    "s": 51.852,
    "l": 57.647
  },
  "oklch": {
    "l": 0.58335,
    "c": 0.17057,
    "h": 304.8
  },
  "luminance": 0.17997
}

Semantic roles & 50–950 ramp

primary
#935BCB
secondary
#C1D7AA
accent
#DB4C94
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #935BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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