#C742BE#C742BE

#C742BE is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 61.1% C 0.217 H 330.7°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#C742BE
RGBrgb(199, 66, 190)
HSLhsl(304, 54%, 52%)
HSVhsv(304, 67%, 78%)
CMYKcmyk(0%, 66.8%, 4.5%, 22%)
CIE-LABlab(51.56, 66.46, -38.51)
CIE-LCHlch(51.56, 76.81, 329.91°)
OKLaboklab(61.08% 0.1889 -0.106)
OKLCHoklch(61.08% 0.217 330.7)
XYZxyz(34.7955, 19.7589, 50.6864)
Luminance0.1976 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C742BE #42C74B
analogous
#8E42C7 #C742BE #C7427C
triadic
#C742BE #BEC742 #42BEC7
tetradic
#C742BE #C78E42 #42C74B #427CC7
square
#C742BE #C78E42 #42C74B #427CC7
split-complementary
#C742BE #7CC742 #42C78E
monochromatic
#6E2169 #9D2F96 #C742BE #D571CE #E3A0DE

Accessibility & contrast

On white

4.24
#C742BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#C742BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C742BE
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C742BE#FFFFFF#000000##000000
##C742BE1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#376FC2
Deuteranopia (green-blind)
#6881BB
Tritanopia (blue-blind)
#CF517B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c742be;
/* rgb */ color: rgb(199, 66, 190);
/* oklch */ color: oklch(61.1% 0.217 330.7);
Tailwind
colors: {
  custom: {
    50: '#db81d2',
    500: '#c742be',
    950: '#000000',
  },
}
SCSS
$custom: #c742be;
$custom-light: #db81d2;
$custom-dark: #000000;
JSON
{
  "hex": "#c742be",
  "rgb": {
    "r": 199,
    "g": 66,
    "b": 190
  },
  "hsl": {
    "h": 304.06,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.61077,
    "c": 0.21661,
    "h": 330.7
  },
  "luminance": 0.19756
}

Semantic roles & 50–950 ramp

primary
#C742BE
secondary
#95D099
accent
#DE544A
background
#FDF8FC
surface
#FBEFF9
border
#D4CAD2
text
#150B14
muted
#837C82

Preview Lab

Preview with #C742BE

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

Preview Lab → · Contrast checker → · Palette generator →

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