#CB74E4#CB74E4

#CB74E4 is a light, vivid purple. Relative luminance 0.308; OKLCH L 69.7% C 0.180 H 318.3°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#CB74E4
RGBrgb(203, 116, 228)
HSLhsl(287, 67%, 67%)
HSVhsv(287, 49%, 89%)
CMYKcmyk(11%, 49.1%, 0%, 10.6%)
CIE-LABlab(62.33, 51.71, -43.11)
CIE-LCHlch(62.33, 67.32, 320.18°)
OKLaboklab(69.67% 0.1343 -0.1195)
OKLCHoklch(69.67% 0.18 318.3)
XYZxyz(44.8757, 30.7903, 76.9630)
Luminance0.3079 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB74E4 #8DE474
analogous
#9374E4 #CB74E4 #E474C5
triadic
#CB74E4 #E4CB74 #74E4CB
tetradic
#CB74E4 #E49374 #8DE474 #74C5E4
square
#CB74E4 #E49374 #8DE474 #74C5E4
split-complementary
#CB74E4 #C5E474 #74E493
monochromatic
#9824BA #B841DA #CB74E4 #DEA7EE #F1DAF8

Accessibility & contrast

On white

2.93
#CB74E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#CB74E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB74E4
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB74E4#FFFFFF#000000##000000
##CB74E41.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6091E8
Deuteranopia (green-blind)
#799AE1
Tritanopia (blue-blind)
#CB84A2
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cb74e4;
/* rgb */ color: rgb(203, 116, 228);
/* oklch */ color: oklch(69.7% 0.180 318.3);
Tailwind
colors: {
  custom: {
    50: '#dd9fed',
    500: '#cb74e4',
    950: '#000000',
  },
}
SCSS
$custom: #cb74e4;
$custom-light: #dd9fed;
$custom-dark: #000000;
JSON
{
  "hex": "#cb74e4",
  "rgb": {
    "r": 203,
    "g": 116,
    "b": 228
  },
  "hsl": {
    "h": 286.607,
    "s": 67.47,
    "l": 67.451
  },
  "oklch": {
    "l": 0.69672,
    "c": 0.17979,
    "h": 318.3
  },
  "luminance": 0.30789
}

Semantic roles & 50–950 ramp

primary
#CB74E4
secondary
#D0EBC8
accent
#CF163F
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #CB74E4

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

Preview Lab → · Contrast checker → · Palette generator →

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