#C48AFA#C48AFA

#C48AFA is a light, vivid violet. Relative luminance 0.368; OKLCH L 73.4% C 0.166 H 306.6°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#C48AFA
RGBrgb(196, 138, 250)
HSLhsl(271, 92%, 76%)
HSVhsv(271, 45%, 98%)
CMYKcmyk(21.6%, 44.8%, 0%, 2%)
CIE-LABlab(67.14, 42.85, -47.73)
CIE-LCHlch(67.14, 64.14, 311.92°)
OKLaboklab(73.42% 0.0991 -0.1332)
OKLCHoklch(73.42% 0.166 306.6)
XYZxyz(49.1053, 36.8153, 94.9431)
Luminance0.3681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C48AFA #C0FA8A
analogous
#8C8AFA #C48AFA #FA8AF8
triadic
#C48AFA #FAC48A #8AFAC4
tetradic
#C48AFA #FA8C8A #C0FA8A #8AF8FA
square
#C48AFA #FA8C8A #C0FA8A #8AF8FA
split-complementary
#C48AFA #F8FA8A #8AFA8C
monochromatic
#8915F5 #A64FF7 #C48AFA #E2C5FD #F0E2FE

Accessibility & contrast

On white

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

On black

8.36
#C48AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C48AFA
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C48AFA#FFFFFF#000000##000000
##C48AFA1.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA1FE
Deuteranopia (green-blind)
#7DA4F7
Tritanopia (blue-blind)
#BC9CB6
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #c48afa;
/* rgb */ color: rgb(196, 138, 250);
/* oklch */ color: oklch(73.4% 0.166 306.6);
Tailwind
colors: {
  custom: {
    50: '#d8adfc',
    500: '#c48afa',
    950: '#000000',
  },
}
SCSS
$custom: #c48afa;
$custom-light: #d8adfc;
$custom-dark: #000000;
JSON
{
  "hex": "#c48afa",
  "rgb": {
    "r": 196,
    "g": 138,
    "b": 250
  },
  "hsl": {
    "h": 271.071,
    "s": 91.803,
    "l": 76.078
  },
  "oklch": {
    "l": 0.73421,
    "c": 0.16598,
    "h": 306.6
  },
  "luminance": 0.36815
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C48AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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