#C248F7#C248F7

#C248F7 is a light, highly saturated purple. Relative luminance 0.228; OKLCH L 64.4% C 0.255 H 313.4°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#C248F7
RGBrgb(194, 72, 247)
HSLhsl(282, 92%, 63%)
HSVhsv(282, 71%, 97%)
CMYKcmyk(21.5%, 70.9%, 0%, 3.1%)
CIE-LABlab(54.89, 73.32, -65.62)
CIE-LCHlch(54.89, 98.39, 318.17°)
OKLaboklab(64.36% 0.1754 -0.1852)
OKLCHoklch(64.36% 0.255 313.4)
XYZxyz(41.3511, 22.8208, 90.2042)
Luminance0.2282 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C248F7 #7DF748
analogous
#6B48F7 #C248F7 #F748D4
triadic
#C248F7 #F7C248 #48F7C2
tetradic
#C248F7 #F76B48 #7DF748 #48D4F7
square
#C248F7 #F76B48 #7DF748 #48D4F7
split-complementary
#C248F7 #D4F748 #48F76B
monochromatic
#8608BC #AE0DF4 #C248F7 #D683FA #E9BDFC

Accessibility & contrast

On white

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

On black

5.56
#C248F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C248F7
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C248F7#FFFFFF#000000##000000
##C248F71.003.775.565.56
#FFFFFF3.771.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFC
Deuteranopia (green-blind)
#3A86F3
Tritanopia (blue-blind)
#BD6E9B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c248f7;
/* rgb */ color: rgb(194, 72, 247);
/* oklch */ color: oklch(64.4% 0.255 313.4);
Tailwind
colors: {
  custom: {
    50: '#d985fb',
    500: '#c248f7',
    950: '#000000',
  },
}
SCSS
$custom: #c248f7;
$custom-light: #d985fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c248f7",
  "rgb": {
    "r": 194,
    "g": 72,
    "b": 247
  },
  "hsl": {
    "h": 281.829,
    "s": 91.623,
    "l": 62.549
  },
  "oklch": {
    "l": 0.64357,
    "c": 0.2551,
    "h": 313.4
  },
  "luminance": 0.22819
}

Semantic roles & 50–950 ramp

primary
#C248F7
secondary
#C1EDAE
accent
#E60046
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150C17
muted
#837D85

Preview Lab

Preview with #C248F7

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

Preview Lab → · Contrast checker → · Palette generator →

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