#C748EC#C748EC

#C748EC is a light, highly saturated purple. Relative luminance 0.228; OKLCH L 64.3% C 0.247 H 317.6°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#C748EC
RGBrgb(199, 72, 236)
HSLhsl(286, 81%, 60%)
HSVhsv(286, 69%, 93%)
CMYKcmyk(15.7%, 69.5%, 0%, 7.5%)
CIE-LABlab(54.90, 72.21, -59.41)
CIE-LCHlch(54.90, 93.51, 320.55°)
OKLaboklab(64.29% 0.1824 -0.1668)
OKLCHoklch(64.29% 0.247 317.6)
XYZxyz(41.0087, 22.8347, 81.5880)
Luminance0.2283 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C748EC #6DEC48
analogous
#7548EC #C748EC #EC48BF
triadic
#C748EC #ECC748 #48ECC7
tetradic
#C748EC #EC7548 #6DEC48 #48BFEC
square
#C748EC #EC7548 #6DEC48 #48BFEC
split-complementary
#C748EC #BFEC48 #48EC75
monochromatic
#8611A8 #B217E0 #C748EC #D87FF2 #E9B7F8

Accessibility & contrast

On white

3.77
#C748EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#C748EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C748EC
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C748EC#FFFFFF#000000##000000
##C748EC1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF1
Deuteranopia (green-blind)
#4D87E8
Tritanopia (blue-blind)
#C66895
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c748ec;
/* rgb */ color: rgb(199, 72, 236);
/* oklch */ color: oklch(64.3% 0.247 317.6);
Tailwind
colors: {
  custom: {
    50: '#dc85f3',
    500: '#c748ec',
    950: '#000000',
  },
}
SCSS
$custom: #c748ec;
$custom-light: #dc85f3;
$custom-dark: #000000;
JSON
{
  "hex": "#c748ec",
  "rgb": {
    "r": 199,
    "g": 72,
    "b": 236
  },
  "hsl": {
    "h": 286.463,
    "s": 81.188,
    "l": 60.392
  },
  "oklch": {
    "l": 0.64292,
    "c": 0.24722,
    "h": 317.6
  },
  "luminance": 0.22833
}

Semantic roles & 50–950 ramp

primary
#C748EC
secondary
#B7E7A9
accent
#DE0838
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C17
muted
#847D85

Preview Lab

Preview with #C748EC

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

Preview Lab → · Contrast checker → · Palette generator →

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