#C740C8#C740C8

#C740C8 is a mid, highly saturated purple. Relative luminance 0.200; OKLCH L 61.4% C 0.227 H 327.6°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#C740C8
RGBrgb(199, 64, 200)
HSLhsl(300, 55%, 52%)
HSVhsv(300, 68%, 78%)
CMYKcmyk(0.5%, 68%, 0%, 21.6%)
CIE-LABlab(51.82, 68.82, -43.89)
CIE-LCHlch(51.82, 81.62, 327.47°)
OKLaboklab(61.43% 0.1915 -0.1215)
OKLCHoklch(61.43% 0.227 327.6)
XYZxyz(35.8114, 19.9815, 56.6030)
Luminance0.1998 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C740C8 #41C840
analogous
#8340C8 #C740C8 #C84085
triadic
#C740C8 #C8C740 #40C8C7
tetradic
#C740C8 #C88340 #41C840 #4085C8
square
#C740C8 #C88340 #41C840 #4085C8
split-complementary
#C740C8 #85C840 #40C883
monochromatic
#6D206E #9D2D9D #C740C8 #D570D6 #E39FE3

Accessibility & contrast

On white

4.20
#C740C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#C740C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C740C8
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C740C8#FFFFFF#000000##000000
##C740C81.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2970CC
Deuteranopia (green-blind)
#6282C4
Tritanopia (blue-blind)
#CD547F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c740c8;
/* rgb */ color: rgb(199, 64, 200);
/* oklch */ color: oklch(61.4% 0.227 327.6);
Tailwind
colors: {
  custom: {
    50: '#dc80d9',
    500: '#c740c8',
    950: '#000000',
  },
}
SCSS
$custom: #c740c8;
$custom-light: #dc80d9;
$custom-dark: #000000;
JSON
{
  "hex": "#c740c8",
  "rgb": {
    "r": 199,
    "g": 64,
    "b": 200
  },
  "hsl": {
    "h": 299.559,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.61425,
    "c": 0.22676,
    "h": 327.6
  },
  "luminance": 0.19979
}

Semantic roles & 50–950 ramp

primary
#C740C8
secondary
#95D094
accent
#DF494A
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B15
muted
#837C83

Preview Lab

Preview with #C740C8

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

Preview Lab → · Contrast checker → · Palette generator →

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