#C740CB#C740CB

#C740CB is a mid, highly saturated purple. Relative luminance 0.201; OKLCH L 61.6% C 0.229 H 326.7°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#C740CB
RGBrgb(199, 64, 203)
HSLhsl(298, 57%, 52%)
HSVhsv(298, 68%, 80%)
CMYKcmyk(2%, 68.5%, 0%, 20.4%)
CIE-LABlab(51.98, 69.32, -45.36)
CIE-LCHlch(51.98, 82.84, 326.80°)
OKLaboklab(61.59% 0.1915 -0.1258)
OKLCHoklch(61.59% 0.229 326.7)
XYZxyz(36.1654, 20.1231, 58.4676)
Luminance0.2012 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C740CB #44CB40
analogous
#8140CB #C740CB #CB408A
triadic
#C740CB #CBC740 #40CBC7
tetradic
#C740CB #CB8140 #44CB40 #408ACB
square
#C740CB #CB8140 #44CB40 #408ACB
split-complementary
#C740CB #8ACB40 #40CB81
monochromatic
#6F1F72 #9E2CA2 #C740CB #D570D8 #E3A0E5

Accessibility & contrast

On white

4.18
#C740CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#C740CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C740CB
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C740CB#FFFFFF#000000##000000
##C740CB1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2571CF
Deuteranopia (green-blind)
#6082C7
Tritanopia (blue-blind)
#CC5581
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c740cb;
/* rgb */ color: rgb(199, 64, 203);
/* oklch */ color: oklch(61.6% 0.229 326.7);
Tailwind
colors: {
  custom: {
    50: '#dc80db',
    500: '#c740cb',
    950: '#000000',
  },
}
SCSS
$custom: #c740cb;
$custom-light: #dc80db;
$custom-dark: #000000;
JSON
{
  "hex": "#c740cb",
  "rgb": {
    "r": 199,
    "g": 64,
    "b": 203
  },
  "hsl": {
    "h": 298.273,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.61592,
    "c": 0.22911,
    "h": 326.7
  },
  "luminance": 0.20121
}

Semantic roles & 50–950 ramp

primary
#C740CB
secondary
#97D295
accent
#E0474C
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #C740CB

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

Preview Lab → · Contrast checker → · Palette generator →

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