#C48EF8#C48EF8

#C48EF8 is a light, vivid violet. Relative luminance 0.379; OKLCH L 74.0% C 0.157 H 306.4°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#C48EF8
RGBrgb(196, 142, 248)
HSLhsl(271, 88%, 76%)
HSVhsv(271, 43%, 97%)
CMYKcmyk(21%, 42.7%, 0%, 2.7%)
CIE-LABlab(67.92, 40.24, -45.41)
CIE-LCHlch(67.92, 60.67, 311.54°)
OKLaboklab(73.98% 0.0933 -0.1265)
OKLCHoklch(73.98% 0.157 306.4)
XYZxyz(49.3778, 37.8595, 93.4951)
Luminance0.3786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C48EF8 #C2F88E
analogous
#8F8EF8 #C48EF8 #F88EF7
triadic
#C48EF8 #F8C48E #8EF8C4
tetradic
#C48EF8 #F88F8E #C2F88E #8EF7F8
square
#C48EF8 #F88F8E #C2F88E #8EF7F8
split-complementary
#C48EF8 #F7F88E #8EF88F
monochromatic
#881BF1 #A654F4 #C48EF8 #E2C8FC #F0E2FD

Accessibility & contrast

On white

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

On black

8.57
#C48EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C48EF8
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C48EF8#FFFFFF#000000##000000
##C48EF81.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A4FC
Deuteranopia (green-blind)
#82A6F5
Tritanopia (blue-blind)
#BC9FB7
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c48ef8;
/* rgb */ color: rgb(196, 142, 248);
/* oklch */ color: oklch(74.0% 0.157 306.4);
Tailwind
colors: {
  custom: {
    50: '#d8b0fb',
    500: '#c48ef8',
    950: '#000000',
  },
}
SCSS
$custom: #c48ef8;
$custom-light: #d8b0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c48ef8",
  "rgb": {
    "r": 196,
    "g": 142,
    "b": 248
  },
  "hsl": {
    "h": 270.566,
    "s": 88.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.73975,
    "c": 0.15715,
    "h": 306.4
  },
  "luminance": 0.37859
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C48EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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