#935BEB#935BEB

#935BEB is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.4% C 0.208 H 297.8°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#935BEB
RGBrgb(147, 91, 235)
HSLhsl(263, 78%, 64%)
HSVhsv(263, 61%, 92%)
CMYKcmyk(37.4%, 61.3%, 0%, 7.8%)
CIE-LABlab(51.48, 52.45, -64.70)
CIE-LCHlch(51.48, 83.29, 309.03°)
OKLaboklab(60.42% 0.0969 -0.1841)
OKLCHoklch(60.42% 0.208 297.8)
XYZxyz(30.7653, 19.6829, 80.7595)
Luminance0.1968 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#935BEB #B3EB5B
analogous
#5B6BEB #935BEB #DB5BEB
triadic
#935BEB #EB935B #5BEB93
tetradic
#935BEB #EB5B6B #B3EB5B #5BEBDB
square
#935BEB #EB5B6B #B3EB5B #5BEBDB
split-complementary
#935BEB #EBDB5B #6BEB5B
monochromatic
#5416B5 #6F24E4 #935BEB #B792F2 #DBC8F8

Accessibility & contrast

On white

4.25
#935BEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#935BEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #935BEB
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##935BEB#FFFFFF#000000##000000
##935BEB1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF0
Deuteranopia (green-blind)
#1679E8
Tritanopia (blue-blind)
#7E7B9B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #935beb;
/* rgb */ color: rgb(147, 91, 235);
/* oklch */ color: oklch(60.4% 0.208 297.8);
Tailwind
colors: {
  custom: {
    50: '#b88cf2',
    500: '#935beb',
    950: '#000000',
  },
}
SCSS
$custom: #935beb;
$custom-light: #b88cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#935beb",
  "rgb": {
    "r": 147,
    "g": 91,
    "b": 235
  },
  "hsl": {
    "h": 263.333,
    "s": 78.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.60421,
    "c": 0.20801,
    "h": 297.8
  },
  "luminance": 0.19683
}

Semantic roles & 50–950 ramp

primary
#935BEB
secondary
#D7EAB8
accent
#DB0B8A
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #935BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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