#C18EF8#C18EF8

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

Color values

HEX#C18EF8
RGBrgb(193, 142, 248)
HSLhsl(269, 88%, 76%)
HSVhsv(269, 43%, 97%)
CMYKcmyk(22.2%, 42.7%, 0%, 2.7%)
CIE-LABlab(67.62, 39.40, -45.90)
CIE-LCHlch(67.62, 60.49, 310.65°)
OKLaboklab(73.69% 0.0898 -0.1279)
OKLCHoklch(73.69% 0.156 305.1)
XYZxyz(48.6051, 37.4610, 93.4588)
Luminance0.3746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C18EF8 #C5F88E
analogous
#8E90F8 #C18EF8 #F68EF8
triadic
#C18EF8 #F8C18E #8EF8C1
tetradic
#C18EF8 #F88E90 #C5F88E #8EF8F6
square
#C18EF8 #F88E90 #C5F88E #8EF8F6
split-complementary
#C18EF8 #F8F68E #90F88E
monochromatic
#821BF1 #A154F4 #C18EF8 #E1C8FC #EFE2FD

Accessibility & contrast

On white

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

On black

8.49
#C18EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C18EF8
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C18EF8#FFFFFF#000000##000000
##C18EF81.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A3FC
Deuteranopia (green-blind)
#80A5F5
Tritanopia (blue-blind)
#B89FB7
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c18ef8;
/* rgb */ color: rgb(193, 142, 248);
/* oklch */ color: oklch(73.7% 0.156 305.1);
Tailwind
colors: {
  custom: {
    50: '#d5b0fb',
    500: '#c18ef8',
    950: '#000000',
  },
}
SCSS
$custom: #c18ef8;
$custom-light: #d5b0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c18ef8",
  "rgb": {
    "r": 193,
    "g": 142,
    "b": 248
  },
  "hsl": {
    "h": 268.868,
    "s": 88.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.73685,
    "c": 0.15631,
    "h": 305.1
  },
  "luminance": 0.37461
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C18EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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