#935CF8#935CF8

#935CF8 is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.5% C 0.222 H 295.3°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#935CF8
RGBrgb(147, 92, 248)
HSLhsl(261, 92%, 67%)
HSVhsv(261, 63%, 97%)
CMYKcmyk(40.7%, 62.9%, 0%, 2.7%)
CIE-LABlab(52.55, 55.25, -70.24)
CIE-LCHlch(52.55, 89.36, 308.19°)
OKLaboklab(61.47% 0.0948 -0.2004)
OKLCHoklch(61.47% 0.222 295.3)
XYZxyz(32.7986, 20.6339, 91.0434)
Luminance0.2064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#935CF8 #C1F85C
analogous
#5C73F8 #935CF8 #E15CF8
triadic
#935CF8 #F8935C #5CF893
tetradic
#935CF8 #F85C73 #C1F85C #5CF8E1
square
#935CF8 #F85C73 #C1F85C #5CF8E1
split-complementary
#935CF8 #F8E15C #73F85C
monochromatic
#4F09D1 #6C21F5 #935CF8 #BA97FB #E1D1FD

Accessibility & contrast

On white

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

On black

5.13
#935CF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #935CF8
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##935CF8#FFFFFF#000000##000000
##935CF81.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFD
Deuteranopia (green-blind)
#007BF5
Tritanopia (blue-blind)
#7980A2
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #935cf8;
/* rgb */ color: rgb(147, 92, 248);
/* oklch */ color: oklch(61.5% 0.222 295.3);
Tailwind
colors: {
  custom: {
    50: '#b98dfb',
    500: '#935cf8',
    950: '#000000',
  },
}
SCSS
$custom: #935cf8;
$custom-light: #b98dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#935cf8",
  "rgb": {
    "r": 147,
    "g": 92,
    "b": 248
  },
  "hsl": {
    "h": 261.154,
    "s": 91.765,
    "l": 66.667
  },
  "oklch": {
    "l": 0.61474,
    "c": 0.22167,
    "h": 295.3
  },
  "luminance": 0.20635
}

Semantic roles & 50–950 ramp

primary
#935CF8
secondary
#DFF1BF
accent
#E60095
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #935CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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