#C248E7#C248E7

#C248E7 is a light, highly saturated purple. Relative luminance 0.219; OKLCH L 63.3% C 0.241 H 317.2°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#C248E7
RGBrgb(194, 72, 231)
HSLhsl(286, 77%, 59%)
HSVhsv(286, 69%, 91%)
CMYKcmyk(16%, 68.8%, 0%, 9.4%)
CIE-LABlab(53.89, 70.24, -58.26)
CIE-LCHlch(53.89, 91.25, 320.33°)
OKLaboklab(63.33% 0.1769 -0.1636)
OKLCHoklch(63.33% 0.241 317.2)
XYZxyz(38.9872, 21.8752, 77.7545)
Luminance0.2187 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C248E7 #6DE748
analogous
#7348E7 #C248E7 #E748BC
triadic
#C248E7 #E7C248 #48E7C2
tetradic
#C248E7 #E77348 #6DE748 #48BCE7
square
#C248E7 #E77348 #6DE748 #48BCE7
split-complementary
#C248E7 #BCE748 #48E773
monochromatic
#7F15A0 #AB1CD6 #C248E7 #D47EEE #E6B4F5

Accessibility & contrast

On white

3.91
#C248E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#C248E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C248E7
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C248E7#FFFFFF#000000##000000
##C248E71.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EC
Deuteranopia (green-blind)
#4C84E3
Tritanopia (blue-blind)
#C06793
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #c248e7;
/* rgb */ color: rgb(194, 72, 231);
/* oklch */ color: oklch(63.3% 0.241 317.2);
Tailwind
colors: {
  custom: {
    50: '#d985ef',
    500: '#c248e7',
    950: '#000000',
  },
}
SCSS
$custom: #c248e7;
$custom-light: #d985ef;
$custom-dark: #000000;
JSON
{
  "hex": "#c248e7",
  "rgb": {
    "r": 194,
    "g": 72,
    "b": 231
  },
  "hsl": {
    "h": 286.038,
    "s": 76.812,
    "l": 59.412
  },
  "oklch": {
    "l": 0.63332,
    "c": 0.24098,
    "h": 317.2
  },
  "luminance": 0.21874
}

Semantic roles & 50–950 ramp

primary
#C248E7
secondary
#B5E4A6
accent
#F33461
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C17
muted
#837D85

Preview Lab

Preview with #C248E7

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

Preview Lab → · Contrast checker → · Palette generator →

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