#935FE6#935FE6

#935FE6 is a mid, vivid violet. Relative luminance 0.201; OKLCH L 60.7% C 0.197 H 298.1°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#935FE6
RGBrgb(147, 95, 230)
HSLhsl(263, 73%, 64%)
HSVhsv(263, 59%, 90%)
CMYKcmyk(36.1%, 58.7%, 0%, 9.8%)
CIE-LABlab(51.95, 49.07, -61.13)
CIE-LCHlch(51.95, 78.38, 308.75°)
OKLaboklab(60.66% 0.0925 -0.1736)
OKLCHoklch(60.66% 0.197 298.1)
XYZxyz(30.4042, 20.1002, 77.1255)
Luminance0.2010 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#935FE6 #B2E65F
analogous
#5F6EE6 #935FE6 #D65FE6
triadic
#935FE6 #E6935F #5FE693
tetradic
#935FE6 #E65F6E #B2E65F #5FE6D6
square
#935FE6 #E65F6E #B2E65F #5FE6D6
split-complementary
#935FE6 #E6D65F #6EE65F
monochromatic
#541BAF #6F2ADE #935FE6 #B794EE #DAC9F7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##935FE6#FFFFFF#000000##000000
##935FE61.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)
#097CEA
Deuteranopia (green-blind)
#2C7AE3
Tritanopia (blue-blind)
#807C9A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #935fe6;
/* rgb */ color: rgb(147, 95, 230);
/* oklch */ color: oklch(60.7% 0.197 298.1);
Tailwind
colors: {
  custom: {
    50: '#b78eef',
    500: '#935fe6',
    950: '#000000',
  },
}
SCSS
$custom: #935fe6;
$custom-light: #b78eef;
$custom-dark: #000000;
JSON
{
  "hex": "#935fe6",
  "rgb": {
    "r": 147,
    "g": 95,
    "b": 230
  },
  "hsl": {
    "h": 263.111,
    "s": 72.973,
    "l": 63.725
  },
  "oklch": {
    "l": 0.60663,
    "c": 0.19668,
    "h": 298.1
  },
  "luminance": 0.20101
}

Semantic roles & 50–950 ramp

primary
#935FE6
secondary
#D6E8B9
accent
#D51089
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #935FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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