#C248F2#C248F2

#C248F2 is a light, highly saturated purple. Relative luminance 0.225; OKLCH L 64.0% C 0.251 H 314.6°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#C248F2
RGBrgb(194, 72, 242)
HSLhsl(283, 87%, 62%)
HSVhsv(283, 70%, 95%)
CMYKcmyk(19.8%, 70.2%, 0%, 5.1%)
CIE-LABlab(54.57, 72.34, -63.34)
CIE-LCHlch(54.57, 96.15, 318.80°)
OKLaboklab(64.03% 0.176 -0.1785)
OKLCHoklch(64.03% 0.251 314.6)
XYZxyz(40.5898, 22.5163, 86.1951)
Luminance0.2251 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C248F2 #78F248
analogous
#6D48F2 #C248F2 #F248CD
triadic
#C248F2 #F2C248 #48F2C2
tetradic
#C248F2 #F26D48 #78F248 #48CDF2
square
#C248F2 #F26D48 #78F248 #48CDF2
split-complementary
#C248F2 #CDF248 #48F26D
monochromatic
#840DB3 #AE11EC #C248F2 #D581F6 #E8BAFA

Accessibility & contrast

On white

3.82
#C248F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#C248F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C248F2
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C248F2#FFFFFF#000000##000000
##C248F21.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF7
Deuteranopia (green-blind)
#4086EE
Tritanopia (blue-blind)
#BE6C99
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c248f2;
/* rgb */ color: rgb(194, 72, 242);
/* oklch */ color: oklch(64.0% 0.251 314.6);
Tailwind
colors: {
  custom: {
    50: '#d985f7',
    500: '#c248f2',
    950: '#000000',
  },
}
SCSS
$custom: #c248f2;
$custom-light: #d985f7;
$custom-dark: #000000;
JSON
{
  "hex": "#c248f2",
  "rgb": {
    "r": 194,
    "g": 72,
    "b": 242
  },
  "hsl": {
    "h": 283.059,
    "s": 86.735,
    "l": 61.569
  },
  "oklch": {
    "l": 0.6403,
    "c": 0.25067,
    "h": 314.6
  },
  "luminance": 0.22515
}

Semantic roles & 50–950 ramp

primary
#C248F2
secondary
#BDEBAB
accent
#E30242
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150C17
muted
#837D85

Preview Lab

Preview with #C248F2

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

Preview Lab → · Contrast checker → · Palette generator →

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