#C48EF7#C48EF7

#C48EF7 is a light, vivid violet. Relative luminance 0.378; OKLCH L 73.9% C 0.156 H 306.7°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#C48EF7
RGBrgb(196, 142, 247)
HSLhsl(271, 87%, 76%)
HSVhsv(271, 43%, 97%)
CMYKcmyk(20.6%, 42.5%, 0%, 3.1%)
CIE-LABlab(67.87, 40.01, -44.94)
CIE-LCHlch(67.87, 60.17, 311.68°)
OKLaboklab(73.93% 0.0931 -0.1251)
OKLCHoklch(73.93% 0.156 306.7)
XYZxyz(49.2231, 37.7976, 92.6802)
Luminance0.3780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C48EF7 #C1F78E
analogous
#908EF7 #C48EF7 #F78EF6
triadic
#C48EF7 #F7C48E #8EF7C4
tetradic
#C48EF7 #F7908E #C1F78E #8EF6F7
square
#C48EF7 #F7908E #C1F78E #8EF6F7
split-complementary
#C48EF7 #F6F78E #8EF790
monochromatic
#881CEF #A655F3 #C48EF7 #E2C7FB #F0E2FD

Accessibility & contrast

On white

2.45
#C48EF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#C48EF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C48EF7
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C48EF7#FFFFFF#000000##000000
##C48EF71.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A3FB
Deuteranopia (green-blind)
#82A6F4
Tritanopia (blue-blind)
#BD9FB7
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c48ef7;
/* rgb */ color: rgb(196, 142, 247);
/* oklch */ color: oklch(73.9% 0.156 306.7);
Tailwind
colors: {
  custom: {
    50: '#d7b0fa',
    500: '#c48ef7',
    950: '#000000',
  },
}
SCSS
$custom: #c48ef7;
$custom-light: #d7b0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c48ef7",
  "rgb": {
    "r": 196,
    "g": 142,
    "b": 247
  },
  "hsl": {
    "h": 270.857,
    "s": 86.777,
    "l": 76.275
  },
  "oklch": {
    "l": 0.73926,
    "c": 0.15596,
    "h": 306.7
  },
  "luminance": 0.37797
}

Semantic roles & 50–950 ramp

primary
#C48EF7
secondary
#E5F5D6
accent
#E30270
background
#FDFAFF
surface
#FAF5FF
border
#D3CFD7
text
#151017
muted
#837F85

Preview Lab

Preview with #C48EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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