#C248E4#C248E4

#C248E4 is a light, highly saturated purple. Relative luminance 0.217; OKLCH L 63.1% C 0.238 H 318.0°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#C248E4
RGBrgb(194, 72, 228)
HSLhsl(287, 74%, 59%)
HSVhsv(287, 68%, 89%)
CMYKcmyk(14.9%, 68.4%, 0%, 10.6%)
CIE-LABlab(53.72, 69.67, -56.86)
CIE-LCHlch(53.72, 89.93, 320.78°)
OKLaboklab(63.15% 0.1771 -0.1595)
OKLCHoklch(63.15% 0.238 318)
XYZxyz(38.5671, 21.7072, 75.5421)
Luminance0.2170 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C248E4 #6AE448
analogous
#7448E4 #C248E4 #E448B8
triadic
#C248E4 #E4C248 #48E4C2
tetradic
#C248E4 #E47448 #6AE448 #48B8E4
square
#C248E4 #E47448 #6AE448 #48B8E4
split-complementary
#C248E4 #B8E448 #48E474
monochromatic
#7E179B #A91FD0 #C248E4 #D47DEC #E6B3F4

Accessibility & contrast

On white

3.93
#C248E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#C248E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C248E4
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C248E4#FFFFFF#000000##000000
##C248E41.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E9
Deuteranopia (green-blind)
#4E84E0
Tritanopia (blue-blind)
#C16691
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #c248e4;
/* rgb */ color: rgb(194, 72, 228);
/* oklch */ color: oklch(63.1% 0.238 318.0);
Tailwind
colors: {
  custom: {
    50: '#d885ed',
    500: '#c248e4',
    950: '#000000',
  },
}
SCSS
$custom: #c248e4;
$custom-light: #d885ed;
$custom-dark: #000000;
JSON
{
  "hex": "#c248e4",
  "rgb": {
    "r": 194,
    "g": 72,
    "b": 228
  },
  "hsl": {
    "h": 286.923,
    "s": 74.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.63146,
    "c": 0.23835,
    "h": 318
  },
  "luminance": 0.21705
}

Semantic roles & 50–950 ramp

primary
#C248E4
secondary
#B3E3A5
accent
#F1375F
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C248E4

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

Preview Lab → · Contrast checker → · Palette generator →

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