#C248E1#C248E1

#C248E1 is a light, highly saturated purple. Relative luminance 0.215; OKLCH L 63.0% C 0.236 H 318.8°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#C248E1
RGBrgb(194, 72, 225)
HSLhsl(288, 72%, 58%)
HSVhsv(288, 68%, 88%)
CMYKcmyk(13.8%, 68%, 0%, 11.8%)
CIE-LABlab(53.54, 69.11, -55.45)
CIE-LCHlch(53.54, 88.60, 321.26°)
OKLaboklab(62.96% 0.1773 -0.1554)
OKLCHoklch(62.96% 0.236 318.8)
XYZxyz(38.1543, 21.5420, 73.3678)
Luminance0.2154 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C248E1 #67E148
analogous
#7548E1 #C248E1 #E148B3
triadic
#C248E1 #E1C248 #48E1C2
tetradic
#C248E1 #E17548 #67E148 #48B3E1
square
#C248E1 #E17548 #67E148 #48B3E1
split-complementary
#C248E1 #B3E148 #48E175
monochromatic
#7D1996 #A821CB #C248E1 #D47DEA #E5B1F2

Accessibility & contrast

On white

3.96
#C248E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#C248E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C248E1
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C248E1#FFFFFF#000000##000000
##C248E11.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E5
Deuteranopia (green-blind)
#5184DD
Tritanopia (blue-blind)
#C2658F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #c248e1;
/* rgb */ color: rgb(194, 72, 225);
/* oklch */ color: oklch(63.0% 0.236 318.8);
Tailwind
colors: {
  custom: {
    50: '#d884eb',
    500: '#c248e1',
    950: '#000000',
  },
}
SCSS
$custom: #c248e1;
$custom-light: #d884eb;
$custom-dark: #000000;
JSON
{
  "hex": "#c248e1",
  "rgb": {
    "r": 194,
    "g": 72,
    "b": 225
  },
  "hsl": {
    "h": 287.843,
    "s": 71.831,
    "l": 58.235
  },
  "oklch": {
    "l": 0.62963,
    "c": 0.23573,
    "h": 318.8
  },
  "luminance": 0.2154
}

Semantic roles & 50–950 ramp

primary
#C248E1
secondary
#B0E1A4
accent
#EF395E
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C248E1

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

Preview Lab → · Contrast checker → · Palette generator →

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