#C393EF#C393EF

#C393EF is a light, vivid violet. Relative luminance 0.387; OKLCH L 74.3% C 0.138 H 307.3°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#C393EF
RGBrgb(195, 147, 239)
HSLhsl(271, 74%, 76%)
HSVhsv(271, 38%, 94%)
CMYKcmyk(18.4%, 38.5%, 0%, 6.3%)
CIE-LABlab(68.53, 35.22, -39.52)
CIE-LCHlch(68.53, 52.94, 311.70°)
OKLaboklab(74.29% 0.0835 -0.1095)
OKLCHoklch(74.29% 0.138 307.3)
XYZxyz(48.5164, 38.7020, 86.5590)
Luminance0.3870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C393EF #BFEF93
analogous
#9593EF #C393EF #EF93ED
triadic
#C393EF #EFC393 #93EFC3
tetradic
#C393EF #EF9593 #BFEF93 #93EDEF
square
#C393EF #EF9593 #BFEF93 #93EDEF
split-complementary
#C393EF #EDEF93 #93EF95
monochromatic
#8828DF #A55EE7 #C393EF #E1C8F7 #F0E4FB

Accessibility & contrast

On white

2.40
#C393EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#C393EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C393EF
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C393EF#FFFFFF#000000##000000
##C393EF1.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA5F2
Deuteranopia (green-blind)
#8AA8EC
Tritanopia (blue-blind)
#BDA1B6
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #c393ef;
/* rgb */ color: rgb(195, 147, 239);
/* oklch */ color: oklch(74.3% 0.138 307.3);
Tailwind
colors: {
  custom: {
    50: '#d6b3f4',
    500: '#c393ef',
    950: '#000000',
  },
}
SCSS
$custom: #c393ef;
$custom-light: #d6b3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c393ef",
  "rgb": {
    "r": 195,
    "g": 147,
    "b": 239
  },
  "hsl": {
    "h": 271.304,
    "s": 74.194,
    "l": 75.686
  },
  "oklch": {
    "l": 0.74287,
    "c": 0.13774,
    "h": 307.3
  },
  "luminance": 0.38702
}

Semantic roles & 50–950 ramp

primary
#C393EF
secondary
#E5F3D8
accent
#D60F6E
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#141117
muted
#838085

Preview Lab

Preview with #C393EF

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

Preview Lab → · Contrast checker → · Palette generator →

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