#935FBB#935FBB

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

Color values

HEX#935FBB
RGBrgb(147, 95, 187)
HSLhsl(274, 40%, 55%)
HSVhsv(274, 49%, 73%)
CMYKcmyk(21.4%, 49.2%, 0%, 26.7%)
CIE-LABlab(49.47, 38.57, -40.55)
CIE-LCHlch(49.47, 55.96, 313.57°)
OKLaboklab(58.03% 0.0906 -0.1133)
OKLCHoklch(58.03% 0.145 308.6)
XYZxyz(25.0927, 17.9757, 49.1518)
Luminance0.1797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#935FBB #87BB5F
analogous
#655FBB #935FBB #BB5FB5
triadic
#935FBB #BB935F #5FBB93
tetradic
#935FBB #BB655F #87BB5F #5FB5BB
square
#935FBB #BB655F #87BB5F #5FB5BB
split-complementary
#935FBB #B5BB5F #5FBB65
monochromatic
#543070 #74429B #935FBB #B08ACD #CDB5E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##935FBB#FFFFFF#000000##000000
##935FBB1.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)
#4773BE
Deuteranopia (green-blind)
#5676B9
Tritanopia (blue-blind)
#8E6E84
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #935fbb;
/* rgb */ color: rgb(147, 95, 187);
/* oklch */ color: oklch(58.0% 0.145 308.6);
Tailwind
colors: {
  custom: {
    50: '#b58ed0',
    500: '#935fbb',
    950: '#000000',
  },
}
SCSS
$custom: #935fbb;
$custom-light: #b58ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#935fbb",
  "rgb": {
    "r": 147,
    "g": 95,
    "b": 187
  },
  "hsl": {
    "h": 273.913,
    "s": 40.351,
    "l": 55.294
  },
  "oklch": {
    "l": 0.58032,
    "c": 0.14508,
    "h": 308.6
  },
  "luminance": 0.17975
}

Semantic roles & 50–950 ramp

primary
#935FBB
secondary
#B8CEA8
accent
#D0588C
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #935FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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