#C393EB#C393EB

#C393EB is a light, vivid violet. Relative luminance 0.385; OKLCH L 74.1% C 0.133 H 308.5°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#C393EB
RGBrgb(195, 147, 235)
HSLhsl(273, 69%, 75%)
HSVhsv(273, 37%, 92%)
CMYKcmyk(17%, 37.4%, 0%, 7.8%)
CIE-LABlab(68.36, 34.34, -37.60)
CIE-LCHlch(68.36, 50.92, 312.41°)
OKLaboklab(74.1% 0.0827 -0.104)
OKLCHoklch(74.1% 0.133 308.5)
XYZxyz(47.9320, 38.4682, 83.4812)
Luminance0.3847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C393EB #BBEB93
analogous
#9793EB #C393EB #EB93E7
triadic
#C393EB #EBC393 #93EBC3
tetradic
#C393EB #EB9793 #BBEB93 #93E7EB
square
#C393EB #EB9793 #BBEB93 #93E7EB
split-complementary
#C393EB #E7EB93 #93EB97
monochromatic
#8A2CD8 #A65FE1 #C393EB #E0C7F5 #F1E5FA

Accessibility & contrast

On white

2.42
#C393EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#C393EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C393EB
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C393EB#FFFFFF#000000##000000
##C393EB1.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A5EE
Deuteranopia (green-blind)
#8CA7E9
Tritanopia (blue-blind)
#BEA0B4
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #c393eb;
/* rgb */ color: rgb(195, 147, 235);
/* oklch */ color: oklch(74.1% 0.133 308.5);
Tailwind
colors: {
  custom: {
    50: '#d6b3f1',
    500: '#c393eb',
    950: '#000000',
  },
}
SCSS
$custom: #c393eb;
$custom-light: #d6b3f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c393eb",
  "rgb": {
    "r": 195,
    "g": 147,
    "b": 235
  },
  "hsl": {
    "h": 272.727,
    "s": 68.75,
    "l": 74.902
  },
  "oklch": {
    "l": 0.74102,
    "c": 0.13286,
    "h": 308.5
  },
  "luminance": 0.38468
}

Semantic roles & 50–950 ramp

primary
#C393EB
secondary
#E4F2D9
accent
#D1156A
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#141117
muted
#838085

Preview Lab

Preview with #C393EB

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

Preview Lab → · Contrast checker → · Palette generator →

#C393EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva