#C18EF7#C18EF7

#C18EF7 is a light, vivid violet. Relative luminance 0.374; OKLCH L 73.6% C 0.155 H 305.3°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#C18EF7
RGBrgb(193, 142, 247)
HSLhsl(269, 87%, 76%)
HSVhsv(269, 43%, 97%)
CMYKcmyk(21.9%, 42.5%, 0%, 3.1%)
CIE-LABlab(67.58, 39.17, -45.42)
CIE-LCHlch(67.58, 59.98, 310.78°)
OKLaboklab(73.63% 0.0896 -0.1266)
OKLCHoklch(73.63% 0.155 305.3)
XYZxyz(48.4504, 37.3991, 92.6440)
Luminance0.3740 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C18EF7 #C4F78E
analogous
#8E90F7 #C18EF7 #F68EF7
triadic
#C18EF7 #F7C18E #8EF7C1
tetradic
#C18EF7 #F78E90 #C4F78E #8EF7F6
square
#C18EF7 #F78E90 #C4F78E #8EF7F6
split-complementary
#C18EF7 #F7F68E #90F78E
monochromatic
#821CEF #A255F3 #C18EF7 #E0C7FB #EFE2FD

Accessibility & contrast

On white

2.48
#C18EF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#C18EF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C18EF7
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C18EF7#FFFFFF#000000##000000
##C18EF71.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A3FB
Deuteranopia (green-blind)
#80A5F4
Tritanopia (blue-blind)
#B99FB7
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c18ef7;
/* rgb */ color: rgb(193, 142, 247);
/* oklch */ color: oklch(73.6% 0.155 305.3);
Tailwind
colors: {
  custom: {
    50: '#d5b0fa',
    500: '#c18ef7',
    950: '#000000',
  },
}
SCSS
$custom: #c18ef7;
$custom-light: #d5b0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c18ef7",
  "rgb": {
    "r": 193,
    "g": 142,
    "b": 247
  },
  "hsl": {
    "h": 269.143,
    "s": 86.777,
    "l": 76.275
  },
  "oklch": {
    "l": 0.73635,
    "c": 0.15509,
    "h": 305.3
  },
  "luminance": 0.37399
}

Semantic roles & 50–950 ramp

primary
#C18EF7
secondary
#E6F5D6
accent
#E30276
background
#FDFAFF
surface
#FAF5FF
border
#D3CFD7
text
#141017
muted
#837F85

Preview Lab

Preview with #C18EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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