#935CEA#935CEA

#935CEA is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.5% C 0.205 H 297.8°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#935CEA
RGBrgb(147, 92, 234)
HSLhsl(263, 77%, 64%)
HSVhsv(263, 61%, 92%)
CMYKcmyk(37.2%, 60.7%, 0%, 8.2%)
CIE-LABlab(51.61, 51.68, -63.93)
CIE-LCHlch(51.61, 82.20, 308.95°)
OKLaboklab(60.5% 0.0958 -0.1818)
OKLCHoklch(60.5% 0.206 297.8)
XYZxyz(30.7073, 19.7974, 80.0294)
Luminance0.1980 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#935CEA #B3EA5C
analogous
#5C6CEA #935CEA #DA5CEA
triadic
#935CEA #EA935C #5CEA93
tetradic
#935CEA #EA5C6C #B3EA5C #5CEADA
square
#935CEA #EA5C6C #B3EA5C #5CEADA
split-complementary
#935CEA #EADA5C #6CEA5C
monochromatic
#5417B4 #6F26E3 #935CEA #B792F1 #DBC8F8

Accessibility & contrast

On white

4.23
#935CEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#935CEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #935CEA
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##935CEA#FFFFFF#000000##000000
##935CEA1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEF
Deuteranopia (green-blind)
#1C79E7
Tritanopia (blue-blind)
#7F7B9A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #935cea;
/* rgb */ color: rgb(147, 92, 234);
/* oklch */ color: oklch(60.5% 0.205 297.8);
Tailwind
colors: {
  custom: {
    50: '#b88df2',
    500: '#935cea',
    950: '#000000',
  },
}
SCSS
$custom: #935cea;
$custom-light: #b88df2;
$custom-dark: #000000;
JSON
{
  "hex": "#935cea",
  "rgb": {
    "r": 147,
    "g": 92,
    "b": 234
  },
  "hsl": {
    "h": 263.239,
    "s": 77.174,
    "l": 63.922
  },
  "oklch": {
    "l": 0.60495,
    "c": 0.2055,
    "h": 297.8
  },
  "luminance": 0.19798
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #935CEA

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

Preview Lab → · Contrast checker → · Palette generator →

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