#CB74F7#CB74F7

#CB74F7 is a light, vivid violet. Relative luminance 0.319; OKLCH L 70.7% C 0.200 H 313.1°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#CB74F7
RGBrgb(203, 116, 247)
HSLhsl(280, 89%, 71%)
HSVhsv(280, 53%, 97%)
CMYKcmyk(17.8%, 53%, 0%, 3.1%)
CIE-LABlab(63.26, 55.58, -52.16)
CIE-LCHlch(63.26, 76.22, 316.82°)
OKLaboklab(70.67% 0.1362 -0.1458)
OKLCHoklch(70.67% 0.2 313.1)
XYZxyz(47.6596, 31.9039, 91.6251)
Luminance0.3190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB74F7 #A0F774
analogous
#8974F7 #CB74F7 #F774E2
triadic
#CB74F7 #F7CB74 #74F7CB
tetradic
#CB74F7 #F78974 #A0F774 #74E2F7
square
#CB74F7 #F78974 #A0F774 #74E2F7
split-complementary
#CB74F7 #E2F774 #74F789
monochromatic
#9B0DE4 #B53AF4 #CB74F7 #E1AEFA #F4E2FD

Accessibility & contrast

On white

2.85
#CB74F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#CB74F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB74F7
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB74F7#FFFFFF#000000##000000
##CB74F71.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5294FB
Deuteranopia (green-blind)
#6F9BF4
Tritanopia (blue-blind)
#C78AAB
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cb74f7;
/* rgb */ color: rgb(203, 116, 247);
/* oklch */ color: oklch(70.7% 0.200 313.1);
Tailwind
colors: {
  custom: {
    50: '#dd9ffa',
    500: '#cb74f7',
    950: '#000000',
  },
}
SCSS
$custom: #cb74f7;
$custom-light: #dd9ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#cb74f7",
  "rgb": {
    "r": 203,
    "g": 116,
    "b": 247
  },
  "hsl": {
    "h": 279.847,
    "s": 89.116,
    "l": 71.176
  },
  "oklch": {
    "l": 0.70665,
    "c": 0.19954,
    "h": 313.1
  },
  "luminance": 0.31903
}

Semantic roles & 50–950 ramp

primary
#CB74F7
secondary
#DEF5D2
accent
#E6004D
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB74F7

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

Preview Lab → · Contrast checker → · Palette generator →

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