#935EF2#935EF2

#935EF2 is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.3% C 0.212 H 296.0°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#935EF2
RGBrgb(147, 94, 242)
HSLhsl(261, 85%, 66%)
HSVhsv(261, 61%, 95%)
CMYKcmyk(39.3%, 61.2%, 0%, 5.1%)
CIE-LABlab(52.53, 52.66, -66.92)
CIE-LCHlch(52.53, 85.15, 308.20°)
OKLaboklab(61.33% 0.0931 -0.1906)
OKLCHoklch(61.33% 0.212 296)
XYZxyz(32.0582, 20.6186, 86.2779)
Luminance0.2062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#935EF2 #BDF25E
analogous
#5E73F2 #935EF2 #DD5EF2
triadic
#935EF2 #F2935E #5EF293
tetradic
#935EF2 #F25E73 #BDF25E #5EF2DD
square
#935EF2 #F25E73 #BDF25E #5EF2DD
split-complementary
#935EF2 #F2DD5E #73F25E
monochromatic
#5110C6 #6D25ED #935EF2 #B997F7 #DFCFFB

Accessibility & contrast

On white

4.10
#935EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#935EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #935EF2
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##935EF2#FFFFFF#000000##000000
##935EF21.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF7
Deuteranopia (green-blind)
#047BEF
Tritanopia (blue-blind)
#7B7F9F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #935ef2;
/* rgb */ color: rgb(147, 94, 242);
/* oklch */ color: oklch(61.3% 0.212 296.0);
Tailwind
colors: {
  custom: {
    50: '#b98ef7',
    500: '#935ef2',
    950: '#000000',
  },
}
SCSS
$custom: #935ef2;
$custom-light: #b98ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#935ef2",
  "rgb": {
    "r": 147,
    "g": 94,
    "b": 242
  },
  "hsl": {
    "h": 261.486,
    "s": 85.057,
    "l": 65.882
  },
  "oklch": {
    "l": 0.61334,
    "c": 0.21214,
    "h": 296
  },
  "luminance": 0.20619
}

Semantic roles & 50–950 ramp

primary
#935EF2
secondary
#DDEEBD
accent
#E20492
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #935EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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