#C18FE8#C18FE8

#C18FE8 is a light, vivid violet. Relative luminance 0.368; OKLCH L 73.1% C 0.135 H 309.2°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#C18FE8
RGBrgb(193, 143, 232)
HSLhsl(274, 66%, 74%)
HSVhsv(274, 38%, 91%)
CMYKcmyk(16.8%, 38.4%, 0%, 9%)
CIE-LABlab(67.13, 35.30, -37.88)
CIE-LCHlch(67.13, 51.78, 312.98°)
OKLaboklab(73.08% 0.0855 -0.1048)
OKLCHoklch(73.08% 0.135 309.2)
XYZxyz(46.3776, 36.8091, 80.9900)
Luminance0.3681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C18FE8 #B6E88F
analogous
#948FE8 #C18FE8 #E88FE2
triadic
#C18FE8 #E8C18F #8FE8C1
tetradic
#C18FE8 #E8948F #B6E88F #8FE2E8
square
#C18FE8 #E8948F #B6E88F #8FE2E8
split-complementary
#C18FE8 #E2E88F #8FE894
monochromatic
#892BD2 #A55CDE #C18FE8 #DDC2F2 #F1E6FA

Accessibility & contrast

On white

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

On black

8.36
#C18FE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C18FE8
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C18FE8#FFFFFF#000000##000000
##C18FE81.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA1EB
Deuteranopia (green-blind)
#89A4E5
Tritanopia (blue-blind)
#BC9CB1
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #c18fe8;
/* rgb */ color: rgb(193, 143, 232);
/* oklch */ color: oklch(73.1% 0.135 309.2);
Tailwind
colors: {
  custom: {
    50: '#d5b0ef',
    500: '#c18fe8',
    950: '#000000',
  },
}
SCSS
$custom: #c18fe8;
$custom-light: #d5b0ef;
$custom-dark: #000000;
JSON
{
  "hex": "#c18fe8",
  "rgb": {
    "r": 193,
    "g": 143,
    "b": 232
  },
  "hsl": {
    "h": 273.708,
    "s": 65.926,
    "l": 73.529
  },
  "oklch": {
    "l": 0.73084,
    "c": 0.13522,
    "h": 309.2
  },
  "luminance": 0.36809
}

Semantic roles & 50–950 ramp

primary
#C18FE8
secondary
#E4F1DA
accent
#CE1867
background
#FDFAFE
surface
#FAF5FD
border
#D3CFD5
text
#141016
muted
#837F84

Preview Lab

Preview with #C18FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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