#935BF1#935BF1

#935BF1 is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 60.8% C 0.215 H 296.7°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#935BF1
RGBrgb(147, 91, 241)
HSLhsl(262, 84%, 65%)
HSVhsv(262, 62%, 95%)
CMYKcmyk(39%, 62.2%, 0%, 5.5%)
CIE-LABlab(51.88, 53.98, -67.41)
CIE-LCHlch(51.88, 86.36, 308.68°)
OKLaboklab(60.84% 0.0965 -0.1921)
OKLCHoklch(60.84% 0.215 296.7)
XYZxyz(31.6468, 20.0355, 85.4019)
Luminance0.2004 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#935BF1 #B9F15B
analogous
#5B6EF1 #935BF1 #DE5BF1
triadic
#935BF1 #F1935B #5BF193
tetradic
#935BF1 #F15B6E #B9F15B #5BF1DE
square
#935BF1 #F15B6E #B9F15B #5BF1DE
split-complementary
#935BF1 #F1DE5B #6EF15B
monochromatic
#5210C1 #6E23EC #935BF1 #B893F6 #DDCCFB

Accessibility & contrast

On white

4.19
#935BF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#935BF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #935BF1
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##935BF1#FFFFFF#000000##000000
##935BF11.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF6
Deuteranopia (green-blind)
#007AEE
Tritanopia (blue-blind)
#7C7D9E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #935bf1;
/* rgb */ color: rgb(147, 91, 241);
/* oklch */ color: oklch(60.8% 0.215 296.7);
Tailwind
colors: {
  custom: {
    50: '#b98cf7',
    500: '#935bf1',
    950: '#000000',
  },
}
SCSS
$custom: #935bf1;
$custom-light: #b98cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#935bf1",
  "rgb": {
    "r": 147,
    "g": 91,
    "b": 241
  },
  "hsl": {
    "h": 262.4,
    "s": 84.27,
    "l": 65.098
  },
  "oklch": {
    "l": 0.60839,
    "c": 0.21492,
    "h": 296.7
  },
  "luminance": 0.20036
}

Semantic roles & 50–950 ramp

primary
#935BF1
secondary
#DAEDBA
accent
#E1058F
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #935BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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