#CB74F2#CB74F2

#CB74F2 is a light, vivid purple. Relative luminance 0.316; OKLCH L 70.4% C 0.194 H 314.4°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#CB74F2
RGBrgb(203, 116, 242)
HSLhsl(281, 83%, 70%)
HSVhsv(281, 52%, 95%)
CMYKcmyk(16.1%, 52.1%, 0%, 5.1%)
CIE-LABlab(63.01, 54.54, -49.80)
CIE-LCHlch(63.01, 73.86, 317.60°)
OKLaboklab(70.4% 0.1358 -0.1389)
OKLCHoklch(70.4% 0.194 314.4)
XYZxyz(46.8984, 31.5994, 87.6160)
Luminance0.3160 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB74F2 #9BF274
analogous
#8C74F2 #CB74F2 #F274DA
triadic
#CB74F2 #F2CB74 #74F2CB
tetradic
#CB74F2 #F28C74 #9BF274 #74DAF2
square
#CB74F2 #F28C74 #9BF274 #74DAF2
split-complementary
#CB74F2 #DAF274 #74F28C
monochromatic
#9B14D7 #B63CED #CB74F2 #E0ACF7 #F5E3FC

Accessibility & contrast

On white

2.87
#CB74F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#CB74F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB74F2
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB74F2#FFFFFF#000000##000000
##CB74F21.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5693F6
Deuteranopia (green-blind)
#729BEF
Tritanopia (blue-blind)
#C888A8
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cb74f2;
/* rgb */ color: rgb(203, 116, 242);
/* oklch */ color: oklch(70.4% 0.194 314.4);
Tailwind
colors: {
  custom: {
    50: '#dd9ff7',
    500: '#cb74f2',
    950: '#000000',
  },
}
SCSS
$custom: #cb74f2;
$custom-light: #dd9ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb74f2",
  "rgb": {
    "r": 203,
    "g": 116,
    "b": 242
  },
  "hsl": {
    "h": 281.429,
    "s": 82.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.70396,
    "c": 0.19429,
    "h": 314.4
  },
  "luminance": 0.31598
}

Semantic roles & 50–950 ramp

primary
#CB74F2
secondary
#DAF2CF
accent
#DF0649
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB74F2

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

Preview Lab → · Contrast checker → · Palette generator →

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