#935BEC#935BEC

#935BEC is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.5% C 0.209 H 297.6°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#935BEC
RGBrgb(147, 91, 236)
HSLhsl(263, 79%, 64%)
HSVhsv(263, 61%, 93%)
CMYKcmyk(37.7%, 61.4%, 0%, 7.5%)
CIE-LABlab(51.54, 52.71, -65.15)
CIE-LCHlch(51.54, 83.80, 308.97°)
OKLaboklab(60.49% 0.0968 -0.1854)
OKLCHoklch(60.49% 0.209 297.6)
XYZxyz(30.9102, 19.7409, 81.5225)
Luminance0.1974 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#935BEC #B4EC5B
analogous
#5B6CEC #935BEC #DB5BEC
triadic
#935BEC #EC935B #5BEC93
tetradic
#935BEC #EC5B6C #B4EC5B #5BECDB
square
#935BEC #EC5B6C #B4EC5B #5BECDB
split-complementary
#935BEC #ECDB5B #6CEC5B
monochromatic
#5415B7 #6F24E6 #935BEC #B792F2 #DBC9F9

Accessibility & contrast

On white

4.24
#935BEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#935BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #935BEC
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##935BEC#FFFFFF#000000##000000
##935BEC1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF1
Deuteranopia (green-blind)
#1279E9
Tritanopia (blue-blind)
#7E7B9B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #935bec;
/* rgb */ color: rgb(147, 91, 236);
/* oklch */ color: oklch(60.5% 0.209 297.6);
Tailwind
colors: {
  custom: {
    50: '#b88cf3',
    500: '#935bec',
    950: '#000000',
  },
}
SCSS
$custom: #935bec;
$custom-light: #b88cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#935bec",
  "rgb": {
    "r": 147,
    "g": 91,
    "b": 236
  },
  "hsl": {
    "h": 263.172,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.6049,
    "c": 0.20917,
    "h": 297.6
  },
  "luminance": 0.19741
}

Semantic roles & 50–950 ramp

primary
#935BEC
secondary
#D7EBB8
accent
#DC0A8B
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #935BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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