#CB74E2#CB74E2

#CB74E2 is a light, vivid purple. Relative luminance 0.307; OKLCH L 69.6% C 0.178 H 319.0°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#CB74E2
RGBrgb(203, 116, 226)
HSLhsl(287, 65%, 67%)
HSVhsv(287, 49%, 89%)
CMYKcmyk(10.2%, 48.7%, 0%, 11.4%)
CIE-LABlab(62.24, 51.31, -42.14)
CIE-LCHlch(62.24, 66.40, 320.61°)
OKLaboklab(69.57% 0.1341 -0.1167)
OKLCHoklch(69.57% 0.178 319)
XYZxyz(44.5997, 30.6799, 75.5092)
Luminance0.3068 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB74E2 #8BE274
analogous
#9474E2 #CB74E2 #E274C2
triadic
#CB74E2 #E2CB74 #74E2CB
tetradic
#CB74E2 #E29474 #8BE274 #74C2E2
square
#CB74E2 #E29474 #8BE274 #74C2E2
split-complementary
#CB74E2 #C2E274 #74E294
monochromatic
#9826B6 #B841D7 #CB74E2 #DEA7ED #F1D9F7

Accessibility & contrast

On white

2.94
#CB74E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#CB74E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB74E2
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB74E2#FFFFFF#000000##000000
##CB74E21.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6191E6
Deuteranopia (green-blind)
#7A99DF
Tritanopia (blue-blind)
#CB83A1
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cb74e2;
/* rgb */ color: rgb(203, 116, 226);
/* oklch */ color: oklch(69.6% 0.178 319.0);
Tailwind
colors: {
  custom: {
    50: '#dd9feb',
    500: '#cb74e2',
    950: '#000000',
  },
}
SCSS
$custom: #cb74e2;
$custom-light: #dd9feb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb74e2",
  "rgb": {
    "r": 203,
    "g": 116,
    "b": 226
  },
  "hsl": {
    "h": 287.455,
    "s": 65.476,
    "l": 67.059
  },
  "oklch": {
    "l": 0.69572,
    "c": 0.17775,
    "h": 319
  },
  "luminance": 0.30678
}

Semantic roles & 50–950 ramp

primary
#CB74E2
secondary
#CFEAC7
accent
#CD183E
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #CB74E2

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

Preview Lab → · Contrast checker → · Palette generator →

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