#935BF2#935BF2

#935BF2 is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 60.9% C 0.216 H 296.5°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#935BF2
RGBrgb(147, 91, 242)
HSLhsl(262, 85%, 65%)
HSVhsv(262, 62%, 95%)
CMYKcmyk(39.3%, 62.4%, 0%, 5.1%)
CIE-LABlab(51.94, 54.23, -67.86)
CIE-LCHlch(51.94, 86.87, 308.63°)
OKLaboklab(60.91% 0.0964 -0.1934)
OKLCHoklch(60.91% 0.216 296.5)
XYZxyz(31.7966, 20.0954, 86.1907)
Luminance0.2010 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#935BF2 #BAF25B
analogous
#5B6EF2 #935BF2 #DF5BF2
triadic
#935BF2 #F2935B #5BF293
tetradic
#935BF2 #F25B6E #BAF25B #5BF2DF
square
#935BF2 #F25B6E #BAF25B #5BF2DF
split-complementary
#935BF2 #F2DF5B #6EF25B
monochromatic
#520FC3 #6E22EE #935BF2 #B894F6 #DECCFB

Accessibility & contrast

On white

4.18
#935BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#935BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #935BF2
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##935BF2#FFFFFF#000000##000000
##935BF21.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF7
Deuteranopia (green-blind)
#007AEF
Tritanopia (blue-blind)
#7B7D9E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #935bf2;
/* rgb */ color: rgb(147, 91, 242);
/* oklch */ color: oklch(60.9% 0.216 296.5);
Tailwind
colors: {
  custom: {
    50: '#b98cf7',
    500: '#935bf2',
    950: '#000000',
  },
}
SCSS
$custom: #935bf2;
$custom-light: #b98cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#935bf2",
  "rgb": {
    "r": 147,
    "g": 91,
    "b": 242
  },
  "hsl": {
    "h": 262.252,
    "s": 85.311,
    "l": 65.294
  },
  "oklch": {
    "l": 0.60909,
    "c": 0.21607,
    "h": 296.5
  },
  "luminance": 0.20096
}

Semantic roles & 50–950 ramp

primary
#935BF2
secondary
#DBEEBB
accent
#E2048F
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #935BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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