#C18DFD#C18DFD

#C18DFD is a light, vivid violet. Relative luminance 0.375; OKLCH L 73.8% C 0.164 H 304.1°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#C18DFD
RGBrgb(193, 141, 253)
HSLhsl(268, 97%, 77%)
HSVhsv(268, 44%, 99%)
CMYKcmyk(23.7%, 44.3%, 0%, 0.8%)
CIE-LABlab(67.64, 41.08, -48.61)
CIE-LCHlch(67.64, 63.64, 310.21°)
OKLaboklab(73.77% 0.0919 -0.1358)
OKLCHoklch(73.77% 0.164 304.1)
XYZxyz(49.2430, 37.4792, 97.5494)
Luminance0.3748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C18DFD #C9FD8D
analogous
#8D91FD #C18DFD #F98DFD
triadic
#C18DFD #FDC18D #8DFDC1
tetradic
#C18DFD #FD8D91 #C9FD8D #8DFDF9
square
#C18DFD #FD8D91 #C9FD8D #8DFDF9
split-complementary
#C18DFD #FDF98D #91FD8D
monochromatic
#8015FB #A051FC #C18DFD #E2C9FE #EFE1FE

Accessibility & contrast

On white

2.47
#C18DFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#C18DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C18DFD
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C18DFD#FFFFFF#000000##000000
##C18DFD1.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA3FF
Deuteranopia (green-blind)
#7CA5FA
Tritanopia (blue-blind)
#B7A0B9
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c18dfd;
/* rgb */ color: rgb(193, 141, 253);
/* oklch */ color: oklch(73.8% 0.164 304.1);
Tailwind
colors: {
  custom: {
    50: '#d6affe',
    500: '#c18dfd',
    950: '#000000',
  },
}
SCSS
$custom: #c18dfd;
$custom-light: #d6affe;
$custom-dark: #000000;
JSON
{
  "hex": "#c18dfd",
  "rgb": {
    "r": 193,
    "g": 141,
    "b": 253
  },
  "hsl": {
    "h": 267.857,
    "s": 96.552,
    "l": 77.255
  },
  "oklch": {
    "l": 0.73771,
    "c": 0.16398,
    "h": 304.1
  },
  "luminance": 0.37479
}

Semantic roles & 50–950 ramp

primary
#C18DFD
secondary
#E7F7D4
accent
#E6007B
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141018
muted
#837F86

Preview Lab

Preview with #C18DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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