#935BEF#935BEF

#935BEF is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.7% C 0.213 H 297.0°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#935BEF
RGBrgb(147, 91, 239)
HSLhsl(263, 82%, 65%)
HSVhsv(263, 62%, 94%)
CMYKcmyk(38.5%, 61.9%, 0%, 6.3%)
CIE-LABlab(51.74, 53.47, -66.51)
CIE-LCHlch(51.74, 85.34, 308.79°)
OKLaboklab(60.7% 0.0966 -0.1894)
OKLCHoklch(60.7% 0.213 297)
XYZxyz(31.3497, 19.9167, 83.8372)
Luminance0.1992 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#935BEF #B7EF5B
analogous
#5B6DEF #935BEF #DD5BEF
triadic
#935BEF #EF935B #5BEF93
tetradic
#935BEF #EF5B6D #B7EF5B #5BEFDD
square
#935BEF #EF5B6D #B7EF5B #5BEFDD
split-complementary
#935BEF #EFDD5B #6DEF5B
monochromatic
#5312BD #6E23EA #935BEF #B893F4 #DCCBFA

Accessibility & contrast

On white

4.21
#935BEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#935BEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #935BEF
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##935BEF#FFFFFF#000000##000000
##935BEF1.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF4
Deuteranopia (green-blind)
#017AEC
Tritanopia (blue-blind)
#7D7C9D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #935bef;
/* rgb */ color: rgb(147, 91, 239);
/* oklch */ color: oklch(60.7% 0.213 297.0);
Tailwind
colors: {
  custom: {
    50: '#b88cf5',
    500: '#935bef',
    950: '#000000',
  },
}
SCSS
$custom: #935bef;
$custom-light: #b88cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#935bef",
  "rgb": {
    "r": 147,
    "g": 91,
    "b": 239
  },
  "hsl": {
    "h": 262.703,
    "s": 82.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.60699,
    "c": 0.21263,
    "h": 297
  },
  "luminance": 0.19917
}

Semantic roles & 50–950 ramp

primary
#935BEF
secondary
#D9ECBA
accent
#DF078D
background
#FBF8FF
surface
#F7F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #935BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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