#C18DF8#C18DF8

#C18DF8 is a light, vivid violet. Relative luminance 0.372; OKLCH L 73.5% C 0.158 H 305.3°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#C18DF8
RGBrgb(193, 141, 248)
HSLhsl(269, 88%, 76%)
HSVhsv(269, 43%, 97%)
CMYKcmyk(22.2%, 43.1%, 0%, 2.7%)
CIE-LABlab(67.40, 39.95, -46.24)
CIE-LCHlch(67.40, 61.11, 310.82°)
OKLaboklab(73.52% 0.0912 -0.1289)
OKLCHoklch(73.52% 0.158 305.3)
XYZxyz(48.4570, 37.1648, 93.4095)
Luminance0.3716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C18DF8 #C4F88D
analogous
#8D8FF8 #C18DF8 #F78DF8
triadic
#C18DF8 #F8C18D #8DF8C1
tetradic
#C18DF8 #F88D8F #C4F88D #8DF8F7
square
#C18DF8 #F88D8F #C4F88D #8DF8F7
split-complementary
#C18DF8 #F8F78D #8FF88D
monochromatic
#821AF1 #A253F4 #C18DF8 #E0C7FC #EFE2FD

Accessibility & contrast

On white

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

On black

8.43
#C18DF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C18DF8
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C18DF8#FFFFFF#000000##000000
##C18DF81.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A2FC
Deuteranopia (green-blind)
#7FA4F5
Tritanopia (blue-blind)
#B89FB7
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #c18df8;
/* rgb */ color: rgb(193, 141, 248);
/* oklch */ color: oklch(73.5% 0.158 305.3);
Tailwind
colors: {
  custom: {
    50: '#d5affb',
    500: '#c18df8',
    950: '#000000',
  },
}
SCSS
$custom: #c18df8;
$custom-light: #d5affb;
$custom-dark: #000000;
JSON
{
  "hex": "#c18df8",
  "rgb": {
    "r": 193,
    "g": 141,
    "b": 248
  },
  "hsl": {
    "h": 269.159,
    "s": 88.43,
    "l": 76.275
  },
  "oklch": {
    "l": 0.73519,
    "c": 0.15791,
    "h": 305.3
  },
  "luminance": 0.37165
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C18DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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