#935BE3#935BE3

#935BE3 is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.9% C 0.199 H 299.3°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#935BE3
RGBrgb(147, 91, 227)
HSLhsl(265, 71%, 62%)
HSVhsv(265, 60%, 89%)
CMYKcmyk(35.2%, 59.9%, 0%, 11%)
CIE-LABlab(50.96, 50.44, -61.04)
CIE-LCHlch(50.96, 79.18, 309.57°)
OKLaboklab(59.88% 0.0972 -0.1733)
OKLCHoklch(59.88% 0.199 299.3)
XYZxyz(29.6354, 19.2310, 74.8088)
Luminance0.1923 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#935BE3 #ABE35B
analogous
#5B67E3 #935BE3 #D75BE3
triadic
#935BE3 #E3935B #5BE393
tetradic
#935BE3 #E35B67 #ABE35B #5BE3D7
square
#935BE3 #E35B67 #ABE35B #5BE3D7
split-complementary
#935BE3 #E3D75B #67E35B
monochromatic
#561DA7 #7127DA #935BE3 #B58FEC #D8C4F5

Accessibility & contrast

On white

4.33
#935BE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#935BE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #935BE3
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##935BE3#FFFFFF#000000##000000
##935BE31.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E7
Deuteranopia (green-blind)
#2978E0
Tritanopia (blue-blind)
#817896
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #935be3;
/* rgb */ color: rgb(147, 91, 227);
/* oklch */ color: oklch(59.9% 0.199 299.3);
Tailwind
colors: {
  custom: {
    50: '#b78ced',
    500: '#935be3',
    950: '#000000',
  },
}
SCSS
$custom: #935be3;
$custom-light: #b78ced;
$custom-dark: #000000;
JSON
{
  "hex": "#935be3",
  "rgb": {
    "r": 147,
    "g": 91,
    "b": 227
  },
  "hsl": {
    "h": 264.706,
    "s": 70.833,
    "l": 62.353
  },
  "oklch": {
    "l": 0.59877,
    "c": 0.19873,
    "h": 299.3
  },
  "luminance": 0.19231
}

Semantic roles & 50–950 ramp

primary
#935BE3
secondary
#D1E6B4
accent
#D31384
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #935BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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