#C48CFB#C48CFB

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

Color values

HEX#C48CFB
RGBrgb(196, 140, 251)
HSLhsl(270, 93%, 77%)
HSVhsv(270, 44%, 98%)
CMYKcmyk(21.9%, 44.2%, 0%, 1.6%)
CIE-LABlab(67.62, 41.99, -47.52)
CIE-LCHlch(67.62, 63.42, 311.47°)
OKLaboklab(73.8% 0.0965 -0.1326)
OKLCHoklch(73.8% 0.164 306)
XYZxyz(49.5521, 37.4573, 95.8676)
Luminance0.3746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C48CFB #C3FB8C
analogous
#8D8CFB #C48CFB #FB8CFB
triadic
#C48CFB #FBC48C #8CFBC4
tetradic
#C48CFB #FB8D8C #C3FB8C #8CFBFB
square
#C48CFB #FB8D8C #C3FB8C #8CFBFB
split-complementary
#C48CFB #FBFB8C #8CFB8D
monochromatic
#8716F7 #A651F9 #C48CFB #E2C7FD #F0E1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C48CFB#FFFFFF#000000##000000
##C48CFB1.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)
#70A3FF
Deuteranopia (green-blind)
#7EA5F8
Tritanopia (blue-blind)
#BC9EB8
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c48cfb;
/* rgb */ color: rgb(196, 140, 251);
/* oklch */ color: oklch(73.8% 0.164 306.0);
Tailwind
colors: {
  custom: {
    50: '#d8aefd',
    500: '#c48cfb',
    950: '#000000',
  },
}
SCSS
$custom: #c48cfb;
$custom-light: #d8aefd;
$custom-dark: #000000;
JSON
{
  "hex": "#c48cfb",
  "rgb": {
    "r": 196,
    "g": 140,
    "b": 251
  },
  "hsl": {
    "h": 270.27,
    "s": 93.277,
    "l": 76.667
  },
  "oklch": {
    "l": 0.73797,
    "c": 0.16397,
    "h": 306
  },
  "luminance": 0.37457
}

Semantic roles & 50–950 ramp

primary
#C48CFB
secondary
#E5F6D5
accent
#E60072
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #C48CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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