#C248EF#C248EF

#C248EF is a light, highly saturated purple. Relative luminance 0.223; OKLCH L 63.8% C 0.248 H 315.3°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#C248EF
RGBrgb(194, 72, 239)
HSLhsl(284, 84%, 61%)
HSVhsv(284, 70%, 94%)
CMYKcmyk(18.8%, 69.9%, 0%, 6.3%)
CIE-LABlab(54.38, 71.76, -61.96)
CIE-LCHlch(54.38, 94.81, 319.19°)
OKLaboklab(63.84% 0.1763 -0.1745)
OKLCHoklch(63.84% 0.248 315.3)
XYZxyz(40.1430, 22.3375, 83.8416)
Luminance0.2234 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C248EF #75EF48
analogous
#6E48EF #C248EF #EF48C9
triadic
#C248EF #EFC248 #48EFC2
tetradic
#C248EF #EF6E48 #75EF48 #48C9EF
square
#C248EF #EF6E48 #75EF48 #48C9EF
split-complementary
#C248EF #C9EF48 #48EF6E
monochromatic
#830FAD #AD14E6 #C248EF #D580F4 #E8B9F9

Accessibility & contrast

On white

3.84
#C248EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#C248EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C248EF
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C248EF#FFFFFF#000000##000000
##C248EF1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF4
Deuteranopia (green-blind)
#4485EB
Tritanopia (blue-blind)
#BF6A97
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #c248ef;
/* rgb */ color: rgb(194, 72, 239);
/* oklch */ color: oklch(63.8% 0.248 315.3);
Tailwind
colors: {
  custom: {
    50: '#d985f5',
    500: '#c248ef',
    950: '#000000',
  },
}
SCSS
$custom: #c248ef;
$custom-light: #d985f5;
$custom-dark: #000000;
JSON
{
  "hex": "#c248ef",
  "rgb": {
    "r": 194,
    "g": 72,
    "b": 239
  },
  "hsl": {
    "h": 283.832,
    "s": 83.92,
    "l": 60.98
  },
  "oklch": {
    "l": 0.63837,
    "c": 0.24802,
    "h": 315.3
  },
  "luminance": 0.22336
}

Semantic roles & 50–950 ramp

primary
#C248EF
secondary
#BBE9AA
accent
#E00540
background
#FDF8FF
surface
#FBF0FE
border
#D4CBD6
text
#150C17
muted
#837D85

Preview Lab

Preview with #C248EF

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

Preview Lab → · Contrast checker → · Palette generator →

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