#935AEB#935AEB

#935AEB is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.3% C 0.209 H 297.9°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#935AEB
RGBrgb(147, 90, 235)
HSLhsl(264, 78%, 64%)
HSVhsv(264, 62%, 92%)
CMYKcmyk(37.4%, 61.7%, 0%, 7.8%)
CIE-LABlab(51.28, 52.98, -65.02)
CIE-LCHlch(51.28, 83.87, 309.17°)
OKLaboklab(60.28% 0.098 -0.185)
OKLCHoklch(60.28% 0.209 297.9)
XYZxyz(30.6804, 19.5131, 80.7311)
Luminance0.1951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#935AEB #B2EB5A
analogous
#5A69EB #935AEB #DB5AEB
triadic
#935AEB #EB935A #5AEB93
tetradic
#935AEB #EB5A69 #B2EB5A #5AEBDB
square
#935AEB #EB5A69 #B2EB5A #5AEBDB
split-complementary
#935AEB #EBDB5A #69EB5A
monochromatic
#5416B5 #6F23E4 #935AEB #B791F2 #DAC7F8

Accessibility & contrast

On white

4.28
#935AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#935AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #935AEB
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##935AEB#FFFFFF#000000##000000
##935AEB1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF0
Deuteranopia (green-blind)
#1179E8
Tritanopia (blue-blind)
#7E7A9A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #935aeb;
/* rgb */ color: rgb(147, 90, 235);
/* oklch */ color: oklch(60.3% 0.209 297.9);
Tailwind
colors: {
  custom: {
    50: '#b88bf2',
    500: '#935aeb',
    950: '#000000',
  },
}
SCSS
$custom: #935aeb;
$custom-light: #b88bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#935aeb",
  "rgb": {
    "r": 147,
    "g": 90,
    "b": 235
  },
  "hsl": {
    "h": 263.586,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.6028,
    "c": 0.20935,
    "h": 297.9
  },
  "luminance": 0.19514
}

Semantic roles & 50–950 ramp

primary
#935AEB
secondary
#D6EAB7
accent
#DB0B89
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #935AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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