#CB74BF#CB74BF

#CB74BF is a light, vivid purple. Relative luminance 0.289; OKLCH L 68.0% C 0.144 H 332.3°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#CB74BF
RGBrgb(203, 116, 191)
HSLhsl(308, 46%, 63%)
HSVhsv(308, 43%, 80%)
CMYKcmyk(0%, 42.9%, 5.9%, 20.4%)
CIE-LABlab(60.74, 44.79, -24.77)
CIE-LCHlch(60.74, 51.18, 331.06°)
OKLaboklab(67.97% 0.1276 -0.0671)
OKLCHoklch(67.97% 0.144 332.3)
XYZxyz(40.2777, 28.9511, 52.7467)
Luminance0.2895 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB74BF #74CB80
analogous
#AC74CB #CB74BF #CB7493
triadic
#CB74BF #BFCB74 #74BFCB
tetradic
#CB74BF #CBAC74 #74CB80 #7493CB
square
#CB74BF #CBAC74 #74CB80 #7493CB
split-complementary
#CB74BF #93CB74 #74CBAC
monochromatic
#8F3683 #BA47AA #CB74BF #DCA1D4 #ECCDE8

Accessibility & contrast

On white

3.09
#CB74BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#CB74BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB74BF
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB74BF#FFFFFF#000000##000000
##CB74BF1.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#728BC2
Deuteranopia (green-blind)
#8997BC
Tritanopia (blue-blind)
#D27991
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #cb74bf;
/* rgb */ color: rgb(203, 116, 191);
/* oklch */ color: oklch(68.0% 0.144 332.3);
Tailwind
colors: {
  custom: {
    50: '#dc9ed2',
    500: '#cb74bf',
    950: '#000000',
  },
}
SCSS
$custom: #cb74bf;
$custom-light: #dc9ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb74bf",
  "rgb": {
    "r": 203,
    "g": 116,
    "b": 191
  },
  "hsl": {
    "h": 308.276,
    "s": 45.55,
    "l": 62.549
  },
  "oklch": {
    "l": 0.67965,
    "c": 0.14414,
    "h": 332.3
  },
  "luminance": 0.28949
}

Semantic roles & 50–950 ramp

primary
#CB74BF
secondary
#BEDDC2
accent
#B9402D
background
#FDF9FC
surface
#FBF2F9
border
#D4CCD2
text
#150F14
muted
#837E82

Preview Lab

Preview with #CB74BF

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

Preview Lab → · Contrast checker → · Palette generator →

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