#935FE8#935FE8

#935FE8 is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.8% C 0.199 H 297.7°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#935FE8
RGBrgb(147, 95, 232)
HSLhsl(263, 75%, 64%)
HSVhsv(263, 59%, 91%)
CMYKcmyk(36.6%, 59.1%, 0%, 9%)
CIE-LABlab(52.08, 49.57, -62.05)
CIE-LCHlch(52.08, 79.42, 308.62°)
OKLaboklab(60.8% 0.0924 -0.1763)
OKLCHoklch(60.8% 0.199 297.7)
XYZxyz(30.6866, 20.2132, 78.6131)
Luminance0.2021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#935FE8 #B4E85F
analogous
#5F70E8 #935FE8 #D85FE8
triadic
#935FE8 #E8935F #5FE893
tetradic
#935FE8 #E85F70 #B4E85F #5FE8D8
square
#935FE8 #E85F70 #B4E85F #5FE8D8
split-complementary
#935FE8 #E8D85F #70E85F
monochromatic
#541AB3 #6F29E0 #935FE8 #B795F0 #DBCAF7

Accessibility & contrast

On white

4.16
#935FE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#935FE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #935FE8
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##935FE8#FFFFFF#000000##000000
##935FE81.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DEC
Deuteranopia (green-blind)
#297BE5
Tritanopia (blue-blind)
#7F7C9B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #935fe8;
/* rgb */ color: rgb(147, 95, 232);
/* oklch */ color: oklch(60.8% 0.199 297.7);
Tailwind
colors: {
  custom: {
    50: '#b88ef0',
    500: '#935fe8',
    950: '#000000',
  },
}
SCSS
$custom: #935fe8;
$custom-light: #b88ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#935fe8",
  "rgb": {
    "r": 147,
    "g": 95,
    "b": 232
  },
  "hsl": {
    "h": 262.774,
    "s": 74.863,
    "l": 64.118
  },
  "oklch": {
    "l": 0.60797,
    "c": 0.19906,
    "h": 297.7
  },
  "luminance": 0.20214
}

Semantic roles & 50–950 ramp

primary
#935FE8
secondary
#D7E9BA
accent
#D70E8B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #935FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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