#C48DEC#C48DEC

#C48DEC is a light, vivid violet. Relative luminance 0.368; OKLCH L 73.2% C 0.144 H 309.9°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#C48DEC
RGBrgb(196, 141, 236)
HSLhsl(275, 71%, 74%)
HSVhsv(275, 40%, 93%)
CMYKcmyk(16.9%, 40.3%, 0%, 7.5%)
CIE-LABlab(67.16, 38.14, -40.02)
CIE-LCHlch(67.16, 55.28, 313.62°)
OKLaboklab(73.23% 0.0926 -0.1109)
OKLCHoklch(73.23% 0.144 309.9)
XYZxyz(47.4274, 36.8423, 83.9534)
Luminance0.3684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C48DEC #B5EC8D
analogous
#958DEC #C48DEC #EC8DE5
triadic
#C48DEC #ECC48D #8DECC4
tetradic
#C48DEC #EC958D #B5EC8D #8DE5EC
square
#C48DEC #EC958D #B5EC8D #8DE5EC
split-complementary
#C48DEC #E5EC8D #8DEC95
monochromatic
#8E24DA #A959E3 #C48DEC #DFC1F5 #F1E5FB

Accessibility & contrast

On white

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

On black

8.37
#C48DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C48DEC
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C48DEC#FFFFFF#000000##000000
##C48DEC1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A1F0
Deuteranopia (green-blind)
#87A4E9
Tritanopia (blue-blind)
#BF9BB1
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #c48dec;
/* rgb */ color: rgb(196, 141, 236);
/* oklch */ color: oklch(73.2% 0.144 309.9);
Tailwind
colors: {
  custom: {
    50: '#d7aff2',
    500: '#c48dec',
    950: '#000000',
  },
}
SCSS
$custom: #c48dec;
$custom-light: #d7aff2;
$custom-dark: #000000;
JSON
{
  "hex": "#c48dec",
  "rgb": {
    "r": 196,
    "g": 141,
    "b": 236
  },
  "hsl": {
    "h": 274.737,
    "s": 71.429,
    "l": 73.922
  },
  "oklch": {
    "l": 0.73228,
    "c": 0.14445,
    "h": 309.9
  },
  "luminance": 0.36842
}

Semantic roles & 50–950 ramp

primary
#C48DEC
secondary
#E3F2D9
accent
#D31263
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #C48DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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