#C18EDD#C18EDD

#C18EDD is a light, vivid violet. Relative luminance 0.359; OKLCH L 72.4% C 0.124 H 313.0°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#C18EDD
RGBrgb(193, 142, 221)
HSLhsl(279, 54%, 71%)
HSVhsv(279, 36%, 87%)
CMYKcmyk(12.7%, 35.7%, 0%, 13.3%)
CIE-LABlab(66.45, 33.50, -32.87)
CIE-LCHlch(66.45, 46.93, 315.54°)
OKLaboklab(72.41% 0.0845 -0.0904)
OKLCHoklch(72.41% 0.124 313)
XYZxyz(44.7143, 35.9047, 72.9674)
Luminance0.3590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C18EDD #AADD8E
analogous
#998EDD #C18EDD #DD8ED1
triadic
#C18EDD #DDC18E #8EDDC1
tetradic
#C18EDD #DD998E #AADD8E #8ED1DD
square
#C18EDD #DD998E #AADD8E #8ED1DD
split-complementary
#C18EDD #D1DD8E #8EDD99
monochromatic
#8B38B9 #A75FCF #C18EDD #DBBDEB #F2E7F8

Accessibility & contrast

On white

2.57
#C18EDD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#C18EDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C18EDD
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C18EDD#FFFFFF#000000##000000
##C18EDD1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#819FE0
Deuteranopia (green-blind)
#8CA3DB
Tritanopia (blue-blind)
#BF99AB
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #c18edd;
/* rgb */ color: rgb(193, 142, 221);
/* oklch */ color: oklch(72.4% 0.124 313.0);
Tailwind
colors: {
  custom: {
    50: '#d5afe8',
    500: '#c18edd',
    950: '#000000',
  },
}
SCSS
$custom: #c18edd;
$custom-light: #d5afe8;
$custom-dark: #000000;
JSON
{
  "hex": "#c18edd",
  "rgb": {
    "r": 193,
    "g": 142,
    "b": 221
  },
  "hsl": {
    "h": 278.734,
    "s": 53.741,
    "l": 71.176
  },
  "oklch": {
    "l": 0.72413,
    "c": 0.12377,
    "h": 313
  },
  "luminance": 0.35904
}

Semantic roles & 50–950 ramp

primary
#C18EDD
secondary
#E0EED9
accent
#C1245C
background
#FDFAFE
surface
#FAF4FC
border
#D3CED5
text
#141016
muted
#837F84

Preview Lab

Preview with #C18EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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