#C18EF9#C18EF9

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

Color values

HEX#C18EF9
RGBrgb(193, 142, 249)
HSLhsl(269, 90%, 77%)
HSVhsv(269, 43%, 98%)
CMYKcmyk(22.5%, 43%, 0%, 2.4%)
CIE-LABlab(67.67, 39.63, -46.37)
CIE-LCHlch(67.67, 61.00, 310.52°)
OKLaboklab(73.74% 0.0899 -0.1293)
OKLCHoklch(73.74% 0.158 304.8)
XYZxyz(48.7606, 37.5232, 94.2781)
Luminance0.3752 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C18EF9 #C6F98E
analogous
#8E91F9 #C18EF9 #F68EF9
triadic
#C18EF9 #F9C18E #8EF9C1
tetradic
#C18EF9 #F98E91 #C6F98E #8EF9F6
square
#C18EF9 #F98E91 #C6F98E #8EF9F6
split-complementary
#C18EF9 #F9F68E #91F98E
monochromatic
#811AF3 #A154F6 #C18EF9 #E1C8FC #EFE2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C18EF9#FFFFFF#000000##000000
##C18EF91.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)
#73A3FD
Deuteranopia (green-blind)
#7FA5F6
Tritanopia (blue-blind)
#B8A0B8
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c18ef9;
/* rgb */ color: rgb(193, 142, 249);
/* oklch */ color: oklch(73.7% 0.158 304.8);
Tailwind
colors: {
  custom: {
    50: '#d5b0fb',
    500: '#c18ef9',
    950: '#000000',
  },
}
SCSS
$custom: #c18ef9;
$custom-light: #d5b0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c18ef9",
  "rgb": {
    "r": 193,
    "g": 142,
    "b": 249
  },
  "hsl": {
    "h": 268.598,
    "s": 89.916,
    "l": 76.667
  },
  "oklch": {
    "l": 0.73735,
    "c": 0.15752,
    "h": 304.8
  },
  "luminance": 0.37523
}

Semantic roles & 50–950 ramp

primary
#C18EF9
secondary
#E6F6D5
accent
#E60078
background
#FDFAFF
surface
#FAF5FF
border
#D3CFD7
text
#141017
muted
#837F85

Preview Lab

Preview with #C18EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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