#C18CFA#C18CFA

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

Color values

HEX#C18CFA
RGBrgb(193, 140, 250)
HSLhsl(269, 92%, 76%)
HSVhsv(269, 44%, 98%)
CMYKcmyk(22.8%, 44%, 0%, 2%)
CIE-LABlab(67.27, 40.95, -47.54)
CIE-LCHlch(67.27, 62.74, 310.74°)
OKLaboklab(73.45% 0.0928 -0.1327)
OKLCHoklch(73.45% 0.162 305)
XYZxyz(48.6221, 36.9960, 95.0034)
Luminance0.3700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C18CFA #C5FA8C
analogous
#8C8EFA #C18CFA #F88CFA
triadic
#C18CFA #FAC18C #8CFAC1
tetradic
#C18CFA #FA8C8E #C5FA8C #8CFAF8
square
#C18CFA #FA8C8E #C5FA8C #8CFAF8
split-complementary
#C18CFA #FAF88C #8EFA8C
monochromatic
#8217F5 #A151F7 #C18CFA #E1C7FD #EFE2FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C18CFA#FFFFFF#000000##000000
##C18CFA1.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)
#70A2FE
Deuteranopia (green-blind)
#7DA4F7
Tritanopia (blue-blind)
#B89EB7
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #c18cfa;
/* rgb */ color: rgb(193, 140, 250);
/* oklch */ color: oklch(73.5% 0.162 305.0);
Tailwind
colors: {
  custom: {
    50: '#d6aefc',
    500: '#c18cfa',
    950: '#000000',
  },
}
SCSS
$custom: #c18cfa;
$custom-light: #d6aefc;
$custom-dark: #000000;
JSON
{
  "hex": "#c18cfa",
  "rgb": {
    "r": 193,
    "g": 140,
    "b": 250
  },
  "hsl": {
    "h": 268.909,
    "s": 91.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.73454,
    "c": 0.16194,
    "h": 305
  },
  "luminance": 0.36996
}

Semantic roles & 50–950 ramp

primary
#C18CFA
secondary
#E6F6D5
accent
#E60077
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #C18CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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