#C742F4#C742F4

#C742F4 is a light, highly saturated purple. Relative luminance 0.226; OKLCH L 64.3% C 0.261 H 315.9°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#C742F4
RGBrgb(199, 66, 244)
HSLhsl(285, 89%, 61%)
HSVhsv(285, 73%, 96%)
CMYKcmyk(18.4%, 73%, 0%, 4.3%)
CIE-LABlab(54.63, 75.88, -64.33)
CIE-LCHlch(54.63, 99.48, 319.71°)
OKLaboklab(64.26% 0.1873 -0.1812)
OKLCHoklch(64.26% 0.261 315.9)
XYZxyz(41.8280, 22.5718, 87.7239)
Luminance0.2257 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C742F4 #6FF442
analogous
#6E42F4 #C742F4 #F442C8
triadic
#C742F4 #F4C742 #42F4C7
tetradic
#C742F4 #F46E42 #6FF442 #42C8F4
square
#C742F4 #F46E42 #6FF442 #42C8F4
split-complementary
#C742F4 #C8F442 #42F46E
monochromatic
#870AB1 #B30EEB #C742F4 #D87CF7 #E9B6FB

Accessibility & contrast

On white

3.81
#C742F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#C742F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C742F4
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C742F4#FFFFFF#000000##000000
##C742F41.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF9
Deuteranopia (green-blind)
#3F86F0
Tritanopia (blue-blind)
#C46898
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c742f4;
/* rgb */ color: rgb(199, 66, 244);
/* oklch */ color: oklch(64.3% 0.261 315.9);
Tailwind
colors: {
  custom: {
    50: '#dd83f9',
    500: '#c742f4',
    950: '#000000',
  },
}
SCSS
$custom: #c742f4;
$custom-light: #dd83f9;
$custom-dark: #000000;
JSON
{
  "hex": "#c742f4",
  "rgb": {
    "r": 199,
    "g": 66,
    "b": 244
  },
  "hsl": {
    "h": 284.831,
    "s": 89,
    "l": 60.784
  },
  "oklch": {
    "l": 0.64255,
    "c": 0.26058,
    "h": 315.9
  },
  "luminance": 0.2257
}

Semantic roles & 50–950 ramp

primary
#C742F4
secondary
#B8EBA7
accent
#E6003A
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#160C17
muted
#847D85

Preview Lab

Preview with #C742F4

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

Preview Lab → · Contrast checker → · Palette generator →

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