#CF74CB#CF74CB

#CF74CB is a light, vivid purple. Relative luminance 0.301; OKLCH L 69.0% C 0.158 H 328.7°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#CF74CB
RGBrgb(207, 116, 203)
HSLhsl(303, 49%, 63%)
HSVhsv(303, 44%, 81%)
CMYKcmyk(0%, 44%, 1.9%, 18.8%)
CIE-LABlab(61.71, 48.13, -30.01)
CIE-LCHlch(61.71, 56.72, 328.05°)
OKLaboklab(68.96% 0.1348 -0.0819)
OKLCHoklch(68.96% 0.158 328.7)
XYZxyz(42.7564, 30.0702, 60.0403)
Luminance0.3007 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF74CB #74CF78
analogous
#A574CF #CF74CB #CF749D
triadic
#CF74CB #CBCF74 #74CBCF
tetradic
#CF74CB #CFA574 #74CF78 #749DCF
square
#CF74CB #CFA574 #74CF78 #749DCF
split-complementary
#CF74CB #9DCF74 #74CFA5
monochromatic
#953391 #BF47BA #CF74CB #DFA1DC #EECFED

Accessibility & contrast

On white

2.99
#CF74CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.01
#CF74CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF74CB
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF74CB#FFFFFF#000000##000000
##CF74CB1.002.997.017.01
#FFFFFF2.991.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E8DCE
Deuteranopia (green-blind)
#8799C8
Tritanopia (blue-blind)
#D57C96
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cf74cb;
/* rgb */ color: rgb(207, 116, 203);
/* oklch */ color: oklch(69.0% 0.158 328.7);
Tailwind
colors: {
  custom: {
    50: '#df9edb',
    500: '#cf74cb',
    950: '#000000',
  },
}
SCSS
$custom: #cf74cb;
$custom-light: #df9edb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf74cb",
  "rgb": {
    "r": 207,
    "g": 116,
    "b": 203
  },
  "hsl": {
    "h": 302.637,
    "s": 48.663,
    "l": 63.333
  },
  "oklch": {
    "l": 0.68958,
    "c": 0.1577,
    "h": 328.7
  },
  "luminance": 0.30068
}

Semantic roles & 50–950 ramp

primary
#CF74CB
secondary
#BFE0C1
accent
#BC302A
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150F15
muted
#837E83

Preview Lab

Preview with #CF74CB

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

Preview Lab → · Contrast checker → · Palette generator →

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