#C18EFD#C18EFD

#C18EFD is a light, vivid violet. Relative luminance 0.378; OKLCH L 73.9% C 0.162 H 303.9°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#C18EFD
RGBrgb(193, 142, 253)
HSLhsl(268, 97%, 77%)
HSVhsv(268, 44%, 99%)
CMYKcmyk(23.7%, 43.9%, 0%, 0.8%)
CIE-LABlab(67.85, 40.54, -48.26)
CIE-LCHlch(67.85, 63.03, 310.03°)
OKLaboklab(73.94% 0.0906 -0.1348)
OKLCHoklch(73.94% 0.162 303.9)
XYZxyz(49.3912, 37.7754, 97.5988)
Luminance0.3777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C18EFD #CAFD8E
analogous
#8E92FD #C18EFD #F98EFD
triadic
#C18EFD #FDC18E #8EFDC1
tetradic
#C18EFD #FD8E92 #CAFD8E #8EFDF9
square
#C18EFD #FD8E92 #CAFD8E #8EFDF9
split-complementary
#C18EFD #FDF98E #92FD8E
monochromatic
#7F16FB #A052FC #C18EFD #E2CAFE #EFE1FE

Accessibility & contrast

On white

2.45
#C18EFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#C18EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C18EFD
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C18EFD#FFFFFF#000000##000000
##C18EFD1.002.458.558.55
#FFFFFF2.451.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A4FF
Deuteranopia (green-blind)
#7DA5FA
Tritanopia (blue-blind)
#B7A1B9
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c18efd;
/* rgb */ color: rgb(193, 142, 253);
/* oklch */ color: oklch(73.9% 0.162 303.9);
Tailwind
colors: {
  custom: {
    50: '#d6b0fe',
    500: '#c18efd',
    950: '#000000',
  },
}
SCSS
$custom: #c18efd;
$custom-light: #d6b0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c18efd",
  "rgb": {
    "r": 193,
    "g": 142,
    "b": 253
  },
  "hsl": {
    "h": 267.568,
    "s": 96.522,
    "l": 77.451
  },
  "oklch": {
    "l": 0.73936,
    "c": 0.1624,
    "h": 303.9
  },
  "luminance": 0.37775
}

Semantic roles & 50–950 ramp

primary
#C18EFD
secondary
#E7F7D4
accent
#E6007C
background
#FDFAFF
surface
#FAF5FF
border
#D3CFD7
text
#141018
muted
#837F86

Preview Lab

Preview with #C18EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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