#C18AFA#C18AFA

#C18AFA is a light, vivid violet. Relative luminance 0.364; OKLCH L 73.1% C 0.165 H 305.3°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#C18AFA
RGBrgb(193, 138, 250)
HSLhsl(269, 92%, 76%)
HSVhsv(269, 45%, 98%)
CMYKcmyk(22.8%, 44.8%, 0%, 2%)
CIE-LABlab(66.84, 42.03, -48.23)
CIE-LCHlch(66.84, 63.97, 311.08°)
OKLaboklab(73.13% 0.0955 -0.1347)
OKLCHoklch(73.13% 0.165 305.3)
XYZxyz(48.3325, 36.4168, 94.9069)
Luminance0.3642 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C18AFA #C3FA8A
analogous
#8A8BFA #C18AFA #F98AFA
triadic
#C18AFA #FAC18A #8AFAC1
tetradic
#C18AFA #FA8A8B #C3FA8A #8AFAF9
square
#C18AFA #FA8A8B #C3FA8A #8AFAF9
split-complementary
#C18AFA #FAF98A #8BFA8A
monochromatic
#8315F5 #A24FF7 #C18AFA #E0C5FD #EFE2FE

Accessibility & contrast

On white

2.54
#C18AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#C18AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C18AFA
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C18AFA#FFFFFF#000000##000000
##C18AFA1.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA1FE
Deuteranopia (green-blind)
#7BA3F7
Tritanopia (blue-blind)
#B89DB6
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #c18afa;
/* rgb */ color: rgb(193, 138, 250);
/* oklch */ color: oklch(73.1% 0.165 305.3);
Tailwind
colors: {
  custom: {
    50: '#d6adfc',
    500: '#c18afa',
    950: '#000000',
  },
}
SCSS
$custom: #c18afa;
$custom-light: #d6adfc;
$custom-dark: #000000;
JSON
{
  "hex": "#c18afa",
  "rgb": {
    "r": 193,
    "g": 138,
    "b": 250
  },
  "hsl": {
    "h": 269.464,
    "s": 91.803,
    "l": 76.078
  },
  "oklch": {
    "l": 0.73127,
    "c": 0.16512,
    "h": 305.3
  },
  "luminance": 0.36417
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C18AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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