#935CEB#935CEB

#935CEB is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.6% C 0.207 H 297.6°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#935CEB
RGBrgb(147, 92, 235)
HSLhsl(263, 78%, 64%)
HSVhsv(263, 61%, 92%)
CMYKcmyk(37.4%, 60.9%, 0%, 7.8%)
CIE-LABlab(51.67, 51.93, -64.38)
CIE-LCHlch(51.67, 82.72, 308.89°)
OKLaboklab(60.56% 0.0957 -0.1831)
OKLCHoklch(60.56% 0.207 297.6)
XYZxyz(30.8514, 19.8550, 80.7881)
Luminance0.1986 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#935CEB #B4EB5C
analogous
#5C6DEB #935CEB #DB5CEB
triadic
#935CEB #EB935C #5CEB93
tetradic
#935CEB #EB5C6D #B4EB5C #5CEBDB
square
#935CEB #EB5C6D #B4EB5C #5CEBDB
split-complementary
#935CEB #EBDB5C #6DEB5C
monochromatic
#5416B6 #6F25E4 #935CEB #B793F2 #DBC9F8

Accessibility & contrast

On white

4.22
#935CEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#935CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #935CEB
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##935CEB#FFFFFF#000000##000000
##935CEB1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF0
Deuteranopia (green-blind)
#197AE8
Tritanopia (blue-blind)
#7E7B9B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #935ceb;
/* rgb */ color: rgb(147, 92, 235);
/* oklch */ color: oklch(60.6% 0.207 297.6);
Tailwind
colors: {
  custom: {
    50: '#b88df2',
    500: '#935ceb',
    950: '#000000',
  },
}
SCSS
$custom: #935ceb;
$custom-light: #b88df2;
$custom-dark: #000000;
JSON
{
  "hex": "#935ceb",
  "rgb": {
    "r": 147,
    "g": 92,
    "b": 235
  },
  "hsl": {
    "h": 263.077,
    "s": 78.142,
    "l": 64.118
  },
  "oklch": {
    "l": 0.60564,
    "c": 0.20666,
    "h": 297.6
  },
  "luminance": 0.19855
}

Semantic roles & 50–950 ramp

primary
#935CEB
secondary
#D7EAB8
accent
#DA0B8B
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #935CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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