#CB74DA#CB74DA

#CB74DA is a light, vivid purple. Relative luminance 0.302; OKLCH L 69.2% C 0.170 H 321.6°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#CB74DA
RGBrgb(203, 116, 218)
HSLhsl(291, 58%, 65%)
HSVhsv(291, 47%, 85%)
CMYKcmyk(6.9%, 46.8%, 0%, 14.5%)
CIE-LABlab(61.87, 49.75, -38.24)
CIE-LCHlch(61.87, 62.75, 322.45°)
OKLaboklab(69.18% 0.1329 -0.1055)
OKLCHoklch(69.18% 0.17 321.6)
XYZxyz(43.5275, 30.2510, 69.8623)
Luminance0.3025 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB74DA #83DA74
analogous
#9874DA #CB74DA #DA74B6
triadic
#CB74DA #DACB74 #74DACB
tetradic
#CB74DA #DA9874 #83DA74 #74B6DA
square
#CB74DA #DA9874 #83DA74 #74B6DA
split-complementary
#CB74DA #B6DA74 #74DA98
monochromatic
#952CA7 #B944CD #CB74DA #DDA4E7 #EFD5F4

Accessibility & contrast

On white

2.98
#CB74DA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#CB74DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB74DA
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB74DA#FFFFFF#000000##000000
##CB74DA1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#658FDE
Deuteranopia (green-blind)
#7E99D7
Tritanopia (blue-blind)
#CD819D
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cb74da;
/* rgb */ color: rgb(203, 116, 218);
/* oklch */ color: oklch(69.2% 0.170 321.6);
Tailwind
colors: {
  custom: {
    50: '#dd9fe6',
    500: '#cb74da',
    950: '#000000',
  },
}
SCSS
$custom: #cb74da;
$custom-light: #dd9fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb74da",
  "rgb": {
    "r": 203,
    "g": 116,
    "b": 218
  },
  "hsl": {
    "h": 291.176,
    "s": 57.955,
    "l": 65.49
  },
  "oklch": {
    "l": 0.6918,
    "c": 0.16967,
    "h": 321.6
  },
  "luminance": 0.30249
}

Semantic roles & 50–950 ramp

primary
#CB74DA
secondary
#C9E6C4
accent
#C62038
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #CB74DA

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

Preview Lab → · Contrast checker → · Palette generator →

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