#C393FA#C393FA

#C393FA is a light, vivid violet. Relative luminance 0.394; OKLCH L 74.8% C 0.151 H 304.5°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#C393FA
RGBrgb(195, 147, 250)
HSLhsl(268, 91%, 78%)
HSVhsv(268, 41%, 98%)
CMYKcmyk(22%, 41.2%, 0%, 2%)
CIE-LABlab(69.02, 37.68, -44.78)
CIE-LCHlch(69.02, 58.52, 310.08°)
OKLaboklab(74.81% 0.0856 -0.1247)
OKLCHoklch(74.81% 0.151 304.5)
XYZxyz(50.1911, 39.3719, 95.3793)
Luminance0.3937 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C393FA #CAFA93
analogous
#9396FA #C393FA #F693FA
triadic
#C393FA #FAC393 #93FAC3
tetradic
#C393FA #FA9396 #CAFA93 #93FAF6
square
#C393FA #FA9396 #CAFA93 #93FAF6
split-complementary
#C393FA #FAF693 #96FA93
monochromatic
#821EF5 #A359F7 #C393FA #E3CDFD #EFE2FE

Accessibility & contrast

On white

2.37
#C393FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#C393FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C393FA
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C393FA#FFFFFF#000000##000000
##C393FA1.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA7FE
Deuteranopia (green-blind)
#85A9F7
Tritanopia (blue-blind)
#BAA4BB
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #c393fa;
/* rgb */ color: rgb(195, 147, 250);
/* oklch */ color: oklch(74.8% 0.151 304.5);
Tailwind
colors: {
  custom: {
    50: '#d7b3fc',
    500: '#c393fa',
    950: '#000000',
  },
}
SCSS
$custom: #c393fa;
$custom-light: #d7b3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c393fa",
  "rgb": {
    "r": 195,
    "g": 147,
    "b": 250
  },
  "hsl": {
    "h": 267.961,
    "s": 91.15,
    "l": 77.843
  },
  "oklch": {
    "l": 0.74813,
    "c": 0.15124,
    "h": 304.5
  },
  "luminance": 0.39372
}

Semantic roles & 50–950 ramp

primary
#C393FA
secondary
#E7F6D5
accent
#E6007B
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #C393FA

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

Preview Lab → · Contrast checker → · Palette generator →

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