#C18FF8#C18FF8

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

Color values

HEX#C18FF8
RGBrgb(193, 143, 248)
HSLhsl(269, 88%, 77%)
HSVhsv(269, 42%, 97%)
CMYKcmyk(22.2%, 42.3%, 0%, 2.7%)
CIE-LABlab(67.84, 38.85, -45.55)
CIE-LCHlch(67.84, 59.87, 310.47°)
OKLaboklab(73.85% 0.0884 -0.1269)
OKLCHoklch(73.85% 0.155 304.9)
XYZxyz(48.7545, 37.7599, 93.5087)
Luminance0.3776 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C18FF8 #C6F88F
analogous
#8F92F8 #C18FF8 #F58FF8
triadic
#C18FF8 #F8C18F #8FF8C1
tetradic
#C18FF8 #F88F92 #C6F88F #8FF8F5
square
#C18FF8 #F88F92 #C6F88F #8FF8F5
split-complementary
#C18FF8 #F8F58F #92F88F
monochromatic
#811CF1 #A155F4 #C18FF8 #E1C9FC #EFE2FD

Accessibility & contrast

On white

2.46
#C18FF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C18FF8#FFFFFF#000000##000000
##C18FF81.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A4FC
Deuteranopia (green-blind)
#81A5F5
Tritanopia (blue-blind)
#B8A0B8
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c18ff8;
/* rgb */ color: rgb(193, 143, 248);
/* oklch */ color: oklch(73.9% 0.155 304.9);
Tailwind
colors: {
  custom: {
    50: '#d5b0fb',
    500: '#c18ff8',
    950: '#000000',
  },
}
SCSS
$custom: #c18ff8;
$custom-light: #d5b0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c18ff8",
  "rgb": {
    "r": 193,
    "g": 143,
    "b": 248
  },
  "hsl": {
    "h": 268.571,
    "s": 88.235,
    "l": 76.667
  },
  "oklch": {
    "l": 0.73852,
    "c": 0.1547,
    "h": 304.9
  },
  "luminance": 0.3776
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C18FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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