#C18FEB#C18FEB

#C18FEB is a light, vivid violet. Relative luminance 0.370; OKLCH L 73.2% C 0.139 H 308.3°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#C18FEB
RGBrgb(193, 143, 235)
HSLhsl(273, 70%, 74%)
HSVhsv(273, 39%, 92%)
CMYKcmyk(17.9%, 39.1%, 0%, 7.8%)
CIE-LABlab(67.26, 35.96, -39.33)
CIE-LCHlch(67.26, 53.29, 312.43°)
OKLaboklab(73.22% 0.0861 -0.109)
OKLCHoklch(73.22% 0.139 308.3)
XYZxyz(46.8073, 36.9810, 83.2534)
Luminance0.3698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C18FEB #B9EB8F
analogous
#938FEB #C18FEB #EB8FE7
triadic
#C18FEB #EBC18F #8FEBC1
tetradic
#C18FEB #EB938F #B9EB8F #8FE7EB
square
#C18FEB #EB938F #B9EB8F #8FE7EB
split-complementary
#C18FEB #E7EB8F #8FEB93
monochromatic
#8827D8 #A45BE2 #C18FEB #DEC3F4 #F1E5FA

Accessibility & contrast

On white

2.50
#C18FEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#C18FEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C18FEB
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C18FEB#FFFFFF#000000##000000
##C18FEB1.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA2EE
Deuteranopia (green-blind)
#87A4E8
Tritanopia (blue-blind)
#BC9DB2
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #c18feb;
/* rgb */ color: rgb(193, 143, 235);
/* oklch */ color: oklch(73.2% 0.139 308.3);
Tailwind
colors: {
  custom: {
    50: '#d5b0f2',
    500: '#c18feb',
    950: '#000000',
  },
}
SCSS
$custom: #c18feb;
$custom-light: #d5b0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c18feb",
  "rgb": {
    "r": 193,
    "g": 143,
    "b": 235
  },
  "hsl": {
    "h": 272.609,
    "s": 69.697,
    "l": 74.118
  },
  "oklch": {
    "l": 0.73224,
    "c": 0.13886,
    "h": 308.3
  },
  "luminance": 0.36981
}

Semantic roles & 50–950 ramp

primary
#C18FEB
secondary
#E4F2D9
accent
#D2146A
background
#FDFAFE
surface
#FAF5FD
border
#D3CFD5
text
#141017
muted
#837F85

Preview Lab

Preview with #C18FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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