#C248EC#C248EC

#C248EC is a light, highly saturated purple. Relative luminance 0.222; OKLCH L 63.6% C 0.245 H 316.0°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#C248EC
RGBrgb(194, 72, 236)
HSLhsl(285, 81%, 60%)
HSVhsv(285, 69%, 93%)
CMYKcmyk(17.8%, 69.5%, 0%, 7.5%)
CIE-LABlab(54.20, 71.19, -60.58)
CIE-LCHlch(54.20, 93.48, 319.60°)
OKLaboklab(63.65% 0.1765 -0.1704)
OKLCHoklch(63.65% 0.245 316)
XYZxyz(39.7035, 22.1617, 81.5268)
Luminance0.2216 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C248EC #72EC48
analogous
#7048EC #C248EC #EC48C4
triadic
#C248EC #ECC248 #48ECC2
tetradic
#C248EC #EC7048 #72EC48 #48C4EC
square
#C248EC #EC7048 #72EC48 #48C4EC
split-complementary
#C248EC #C4EC48 #48EC70
monochromatic
#8211A8 #AC17E0 #C248EC #D47FF2 #E7B7F8

Accessibility & contrast

On white

3.87
#C248EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#C248EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C248EC
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C248EC#FFFFFF#000000##000000
##C248EC1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF1
Deuteranopia (green-blind)
#4785E8
Tritanopia (blue-blind)
#BF6995
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #c248ec;
/* rgb */ color: rgb(194, 72, 236);
/* oklch */ color: oklch(63.6% 0.245 316.0);
Tailwind
colors: {
  custom: {
    50: '#d985f3',
    500: '#c248ec',
    950: '#000000',
  },
}
SCSS
$custom: #c248ec;
$custom-light: #d985f3;
$custom-dark: #000000;
JSON
{
  "hex": "#c248ec",
  "rgb": {
    "r": 194,
    "g": 72,
    "b": 236
  },
  "hsl": {
    "h": 284.634,
    "s": 81.188,
    "l": 60.392
  },
  "oklch": {
    "l": 0.63646,
    "c": 0.24537,
    "h": 316
  },
  "luminance": 0.2216
}

Semantic roles & 50–950 ramp

primary
#C248EC
secondary
#B9E7A9
accent
#DE083F
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C17
muted
#837D85

Preview Lab

Preview with #C248EC

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

Preview Lab → · Contrast checker → · Palette generator →

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