#935FEB#935FEB

#935FEB is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.0% C 0.203 H 297.1°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#935FEB
RGBrgb(147, 95, 235)
HSLhsl(262, 78%, 65%)
HSVhsv(262, 60%, 92%)
CMYKcmyk(37.4%, 59.6%, 0%, 7.8%)
CIE-LABlab(52.27, 50.34, -63.42)
CIE-LCHlch(52.27, 80.97, 308.44°)
OKLaboklab(61% 0.0923 -0.1803)
OKLCHoklch(61% 0.203 297.1)
XYZxyz(31.1164, 20.3851, 80.8765)
Luminance0.2039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#935FEB #B7EB5F
analogous
#5F71EB #935FEB #D95FEB
triadic
#935FEB #EB935F #5FEB93
tetradic
#935FEB #EB5F71 #B7EB5F #5FEBD9
square
#935FEB #EB5F71 #B7EB5F #5FEBD9
split-complementary
#935FEB #EBD95F #71EB5F
monochromatic
#5317B9 #6E29E4 #935FEB #B895F2 #DCCCF9

Accessibility & contrast

On white

4.14
#935FEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#935FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #935FEB
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##935FEB#FFFFFF#000000##000000
##935FEB1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF0
Deuteranopia (green-blind)
#227BE8
Tritanopia (blue-blind)
#7E7D9C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #935feb;
/* rgb */ color: rgb(147, 95, 235);
/* oklch */ color: oklch(61.0% 0.203 297.1);
Tailwind
colors: {
  custom: {
    50: '#b88ff2',
    500: '#935feb',
    950: '#000000',
  },
}
SCSS
$custom: #935feb;
$custom-light: #b88ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#935feb",
  "rgb": {
    "r": 147,
    "g": 95,
    "b": 235
  },
  "hsl": {
    "h": 262.286,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.60999,
    "c": 0.20259,
    "h": 297.1
  },
  "luminance": 0.20386
}

Semantic roles & 50–950 ramp

primary
#935FEB
secondary
#D9EBBB
accent
#DA0B8D
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #935FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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