#C18CF8#C18CF8

#C18CF8 is a light, vivid violet. Relative luminance 0.369; OKLCH L 73.4% C 0.160 H 305.4°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#C18CF8
RGBrgb(193, 140, 248)
HSLhsl(269, 89%, 76%)
HSVhsv(269, 44%, 97%)
CMYKcmyk(22.2%, 43.5%, 0%, 2.7%)
CIE-LABlab(67.18, 40.49, -46.59)
CIE-LCHlch(67.18, 61.73, 310.99°)
OKLaboklab(73.35% 0.0925 -0.1299)
OKLCHoklch(73.35% 0.16 305.4)
XYZxyz(48.3102, 36.8712, 93.3605)
Luminance0.3687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C18CF8 #C3F88C
analogous
#8C8DF8 #C18CF8 #F78CF8
triadic
#C18CF8 #F8C18C #8CF8C1
tetradic
#C18CF8 #F88C8D #C3F88C #8CF8F7
square
#C18CF8 #F88C8D #C3F88C #8CF8F7
split-complementary
#C18CF8 #F8F78C #8DF88C
monochromatic
#8319F1 #A252F4 #C18CF8 #E0C6FC #EFE2FD

Accessibility & contrast

On white

2.51
#C18CF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#C18CF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C18CF8
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C18CF8#FFFFFF#000000##000000
##C18CF81.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A2FC
Deuteranopia (green-blind)
#7EA4F5
Tritanopia (blue-blind)
#B89EB6
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #c18cf8;
/* rgb */ color: rgb(193, 140, 248);
/* oklch */ color: oklch(73.4% 0.160 305.4);
Tailwind
colors: {
  custom: {
    50: '#d6aefb',
    500: '#c18cf8',
    950: '#000000',
  },
}
SCSS
$custom: #c18cf8;
$custom-light: #d6aefb;
$custom-dark: #000000;
JSON
{
  "hex": "#c18cf8",
  "rgb": {
    "r": 193,
    "g": 140,
    "b": 248
  },
  "hsl": {
    "h": 269.444,
    "s": 88.525,
    "l": 76.078
  },
  "oklch": {
    "l": 0.73353,
    "c": 0.15952,
    "h": 305.4
  },
  "luminance": 0.36871
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C18CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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