#C18DF7#C18DF7

#C18DF7 is a light, vivid violet. Relative luminance 0.371; OKLCH L 73.5% C 0.157 H 305.5°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#C18DF7
RGBrgb(193, 141, 247)
HSLhsl(269, 87%, 76%)
HSVhsv(269, 43%, 97%)
CMYKcmyk(21.9%, 42.9%, 0%, 3.1%)
CIE-LABlab(67.35, 39.72, -45.77)
CIE-LCHlch(67.35, 60.60, 310.95°)
OKLaboklab(73.47% 0.091 -0.1276)
OKLCHoklch(73.47% 0.157 305.5)
XYZxyz(48.3023, 37.1029, 92.5946)
Luminance0.3710 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C18DF7 #C3F78D
analogous
#8D8EF7 #C18DF7 #F68DF7
triadic
#C18DF7 #F7C18D #8DF7C1
tetradic
#C18DF7 #F78D8E #C3F78D #8DF7F6
square
#C18DF7 #F78D8E #C3F78D #8DF7F6
split-complementary
#C18DF7 #F7F68D #8EF78D
monochromatic
#831BEF #A254F3 #C18DF7 #E0C6FB #EFE2FD

Accessibility & contrast

On white

2.49
#C18DF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#C18DF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C18DF7
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C18DF7#FFFFFF#000000##000000
##C18DF71.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A2FB
Deuteranopia (green-blind)
#7FA4F4
Tritanopia (blue-blind)
#B99EB6
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #c18df7;
/* rgb */ color: rgb(193, 141, 247);
/* oklch */ color: oklch(73.5% 0.157 305.5);
Tailwind
colors: {
  custom: {
    50: '#d5affa',
    500: '#c18df7',
    950: '#000000',
  },
}
SCSS
$custom: #c18df7;
$custom-light: #d5affa;
$custom-dark: #000000;
JSON
{
  "hex": "#c18df7",
  "rgb": {
    "r": 193,
    "g": 141,
    "b": 247
  },
  "hsl": {
    "h": 269.434,
    "s": 86.885,
    "l": 76.078
  },
  "oklch": {
    "l": 0.73469,
    "c": 0.15669,
    "h": 305.5
  },
  "luminance": 0.37103
}

Semantic roles & 50–950 ramp

primary
#C18DF7
secondary
#E6F5D6
accent
#E30275
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #C18DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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