#935FF2#935FF2

#935FF2 is a mid, highly saturated violet. Relative luminance 0.208; OKLCH L 61.5% C 0.211 H 295.9°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#935FF2
RGBrgb(147, 95, 242)
HSLhsl(261, 85%, 66%)
HSVhsv(261, 61%, 95%)
CMYKcmyk(39.3%, 60.7%, 0%, 5.1%)
CIE-LABlab(52.73, 52.13, -66.60)
CIE-LCHlch(52.73, 84.58, 308.05°)
OKLaboklab(61.48% 0.092 -0.1897)
OKLCHoklch(61.48% 0.211 295.9)
XYZxyz(32.1477, 20.7976, 86.3078)
Luminance0.2080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#935FF2 #BEF25F
analogous
#5F74F2 #935FF2 #DC5FF2
triadic
#935FF2 #F2935F #5FF293
tetradic
#935FF2 #F25F74 #BEF25F #5FF2DC
square
#935FF2 #F25F74 #BEF25F #5FF2DC
split-complementary
#935FF2 #F2DC5F #74F25F
monochromatic
#5110C6 #6D26ED #935FF2 #B998F7 #DFD0FB

Accessibility & contrast

On white

4.07
#935FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#935FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #935FF2
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##935FF2#FFFFFF#000000##000000
##935FF21.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF7
Deuteranopia (green-blind)
#0B7CEF
Tritanopia (blue-blind)
#7B80A0
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #935ff2;
/* rgb */ color: rgb(147, 95, 242);
/* oklch */ color: oklch(61.5% 0.211 295.9);
Tailwind
colors: {
  custom: {
    50: '#b88ff7',
    500: '#935ff2',
    950: '#000000',
  },
}
SCSS
$custom: #935ff2;
$custom-light: #b88ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#935ff2",
  "rgb": {
    "r": 147,
    "g": 95,
    "b": 242
  },
  "hsl": {
    "h": 261.224,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.61478,
    "c": 0.21081,
    "h": 295.9
  },
  "luminance": 0.20798
}

Semantic roles & 50–950 ramp

primary
#935FF2
secondary
#DDEFBE
accent
#E10493
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #935FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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