#935FCB#935FCB

#935FCB is a mid, vivid violet. Relative luminance 0.187; OKLCH L 59.0% C 0.164 H 304.0°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#935FCB
RGBrgb(147, 95, 203)
HSLhsl(269, 51%, 58%)
HSVhsv(269, 53%, 80%)
CMYKcmyk(27.6%, 53.2%, 0%, 20.4%)
CIE-LABlab(50.33, 42.37, -48.39)
CIE-LCHlch(50.33, 64.31, 311.20°)
OKLaboklab(58.96% 0.092 -0.1362)
OKLCHoklch(58.96% 0.164 304)
XYZxyz(26.9020, 18.6993, 58.6804)
Luminance0.1870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#935FCB #97CB5F
analogous
#5F61CB #935FCB #C95FCB
triadic
#935FCB #CB935F #5FCB93
tetradic
#935FCB #CB5F61 #97CB5F #5FCBC9
square
#935FCB #CB5F61 #97CB5F #5FCBC9
split-complementary
#935FCB #CBC95F #61CB5F
monochromatic
#562B85 #743AB3 #935FCB #B28DDA #D1BBE9

Accessibility & contrast

On white

4.43
#935FCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#935FCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #935FCB
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##935FCB#FFFFFF#000000##000000
##935FCB1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A76CF
Deuteranopia (green-blind)
#4B78C8
Tritanopia (blue-blind)
#89738C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #935fcb;
/* rgb */ color: rgb(147, 95, 203);
/* oklch */ color: oklch(59.0% 0.164 304.0);
Tailwind
colors: {
  custom: {
    50: '#b68edb',
    500: '#935fcb',
    950: '#000000',
  },
}
SCSS
$custom: #935fcb;
$custom-light: #b68edb;
$custom-dark: #000000;
JSON
{
  "hex": "#935fcb",
  "rgb": {
    "r": 147,
    "g": 95,
    "b": 203
  },
  "hsl": {
    "h": 268.889,
    "s": 50.943,
    "l": 58.431
  },
  "oklch": {
    "l": 0.58956,
    "c": 0.16438,
    "h": 304
  },
  "luminance": 0.18699
}

Semantic roles & 50–950 ramp

primary
#935FCB
secondary
#C4D8AD
accent
#DA4D97
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #935FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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