#CB73E7#CB73E7

#CB73E7 is a light, vivid purple. Relative luminance 0.307; OKLCH L 69.7% C 0.184 H 317.5°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#CB73E7
RGBrgb(203, 115, 231)
HSLhsl(286, 71%, 68%)
HSVhsv(286, 50%, 91%)
CMYKcmyk(12.1%, 50.2%, 0%, 9.4%)
CIE-LABlab(62.28, 52.81, -44.86)
CIE-LCHlch(62.28, 69.29, 319.66°)
OKLaboklab(69.68% 0.136 -0.1246)
OKLCHoklch(69.68% 0.184 317.5)
XYZxyz(45.1811, 30.7290, 79.1371)
Luminance0.3073 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB73E7 #8FE773
analogous
#9173E7 #CB73E7 #E773C9
triadic
#CB73E7 #E7CB73 #73E7CB
tetradic
#CB73E7 #E79173 #8FE773 #73C9E7
square
#CB73E7 #E79173 #8FE773 #73C9E7
split-complementary
#CB73E7 #C9E773 #73E791
monochromatic
#9921BF #B83FDE #CB73E7 #DEA7F0 #F2DBF9

Accessibility & contrast

On white

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

On black

7.15
#CB73E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB73E7
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB73E7#FFFFFF#000000##000000
##CB73E71.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C91EB
Deuteranopia (green-blind)
#7799E4
Tritanopia (blue-blind)
#CA84A3
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cb73e7;
/* rgb */ color: rgb(203, 115, 231);
/* oklch */ color: oklch(69.7% 0.184 317.5);
Tailwind
colors: {
  custom: {
    50: '#dd9eef',
    500: '#cb73e7',
    950: '#000000',
  },
}
SCSS
$custom: #cb73e7;
$custom-light: #dd9eef;
$custom-dark: #000000;
JSON
{
  "hex": "#cb73e7",
  "rgb": {
    "r": 203,
    "g": 115,
    "b": 231
  },
  "hsl": {
    "h": 285.517,
    "s": 70.732,
    "l": 67.843
  },
  "oklch": {
    "l": 0.6968,
    "c": 0.18446,
    "h": 317.5
  },
  "luminance": 0.30727
}

Semantic roles & 50–950 ramp

primary
#CB73E7
secondary
#D2EDC9
accent
#D31341
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #CB73E7

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

Preview Lab → · Contrast checker → · Palette generator →

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