#935BFB#935BFB

#935BFB is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.6% C 0.226 H 295.0°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#935BFB
RGBrgb(147, 91, 251)
HSLhsl(261, 95%, 67%)
HSVhsv(261, 64%, 98%)
CMYKcmyk(41.4%, 63.7%, 0%, 1.6%)
CIE-LABlab(52.56, 56.53, -71.88)
CIE-LCHlch(52.56, 91.44, 308.19°)
OKLaboklab(61.55% 0.0956 -0.2052)
OKLCHoklch(61.55% 0.226 295)
XYZxyz(33.1817, 20.6495, 93.4856)
Luminance0.2065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#935BFB #C3FB5B
analogous
#5B73FB #935BFB #E35BFB
triadic
#935BFB #FB935B #5BFB93
tetradic
#935BFB #FB5B73 #C3FB5B #5BFBE3
square
#935BFB #FB5B73 #C3FB5B #5BFBE3
split-complementary
#935BFB #FBE35B #73FB5B
monochromatic
#4E05D6 #6C1FFA #935BFB #BA97FC #E2D2FE

Accessibility & contrast

On white

4.09
#935BFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#935BFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #935BFB
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##935BFB#FFFFFF#000000##000000
##935BFB1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#007BF8
Tritanopia (blue-blind)
#7780A3
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #935bfb;
/* rgb */ color: rgb(147, 91, 251);
/* oklch */ color: oklch(61.6% 0.226 295.0);
Tailwind
colors: {
  custom: {
    50: '#ba8cfe',
    500: '#935bfb',
    950: '#000000',
  },
}
SCSS
$custom: #935bfb;
$custom-light: #ba8cfe;
$custom-dark: #000000;
JSON
{
  "hex": "#935bfb",
  "rgb": {
    "r": 147,
    "g": 91,
    "b": 251
  },
  "hsl": {
    "h": 261,
    "s": 95.238,
    "l": 67.059
  },
  "oklch": {
    "l": 0.61552,
    "c": 0.22635,
    "h": 295
  },
  "luminance": 0.2065
}

Semantic roles & 50–950 ramp

primary
#935BFB
secondary
#E1F2C0
accent
#E60095
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #935BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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