#935AEF#935AEF

#935AEF is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.6% C 0.214 H 297.2°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#935AEF
RGBrgb(147, 90, 239)
HSLhsl(263, 82%, 65%)
HSVhsv(263, 62%, 94%)
CMYKcmyk(38.5%, 62.3%, 0%, 6.3%)
CIE-LABlab(51.55, 53.99, -66.83)
CIE-LCHlch(51.55, 85.91, 308.93°)
OKLaboklab(60.56% 0.0977 -0.1903)
OKLCHoklch(60.56% 0.214 297.2)
XYZxyz(31.2648, 19.7468, 83.8089)
Luminance0.1975 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#935AEF #B6EF5A
analogous
#5A6CEF #935AEF #DD5AEF
triadic
#935AEF #EF935A #5AEF93
tetradic
#935AEF #EF5A6C #B6EF5A #5AEFDD
square
#935AEF #EF5A6C #B6EF5A #5AEFDD
split-complementary
#935AEF #EFDD5A #6CEF5A
monochromatic
#5312BC #6E22EA #935AEF #B892F4 #DCCAFA

Accessibility & contrast

On white

4.24
#935AEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#935AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #935AEF
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##935AEF#FFFFFF#000000##000000
##935AEF1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF4
Deuteranopia (green-blind)
#0079EC
Tritanopia (blue-blind)
#7D7B9C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #935aef;
/* rgb */ color: rgb(147, 90, 239);
/* oklch */ color: oklch(60.6% 0.214 297.2);
Tailwind
colors: {
  custom: {
    50: '#b88bf5',
    500: '#935aef',
    950: '#000000',
  },
}
SCSS
$custom: #935aef;
$custom-light: #b88bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#935aef",
  "rgb": {
    "r": 147,
    "g": 90,
    "b": 239
  },
  "hsl": {
    "h": 262.953,
    "s": 82.32,
    "l": 64.51
  },
  "oklch": {
    "l": 0.60559,
    "c": 0.21394,
    "h": 297.2
  },
  "luminance": 0.19747
}

Semantic roles & 50–950 ramp

primary
#935AEF
secondary
#D8ECB9
accent
#DF078C
background
#FBF8FF
surface
#F7F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #935AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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