#CB74F8#CB74F8

#CB74F8 is a light, highly saturated violet. Relative luminance 0.320; OKLCH L 70.7% C 0.201 H 312.8°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#CB74F8
RGBrgb(203, 116, 248)
HSLhsl(280, 90%, 71%)
HSVhsv(280, 53%, 97%)
CMYKcmyk(18.1%, 53.2%, 0%, 2.7%)
CIE-LABlab(63.31, 55.78, -52.63)
CIE-LCHlch(63.31, 76.69, 316.67°)
OKLaboklab(70.72% 0.1363 -0.1472)
OKLCHoklch(70.72% 0.201 312.8)
XYZxyz(47.8144, 31.9658, 92.4400)
Luminance0.3196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB74F8 #A1F874
analogous
#8974F8 #CB74F8 #F874E3
triadic
#CB74F8 #F8CB74 #74F8CB
tetradic
#CB74F8 #F88974 #A1F874 #74E3F8
square
#CB74F8 #F88974 #A1F874 #74E3F8
split-complementary
#CB74F8 #E3F874 #74F889
monochromatic
#9C0CE6 #B53AF5 #CB74F8 #E1AEFB #F4E2FE

Accessibility & contrast

On white

2.84
#CB74F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#CB74F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB74F8
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB74F8#FFFFFF#000000##000000
##CB74F81.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5195FC
Deuteranopia (green-blind)
#6E9BF5
Tritanopia (blue-blind)
#C78AAB
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cb74f8;
/* rgb */ color: rgb(203, 116, 248);
/* oklch */ color: oklch(70.7% 0.201 312.8);
Tailwind
colors: {
  custom: {
    50: '#dd9ffb',
    500: '#cb74f8',
    950: '#000000',
  },
}
SCSS
$custom: #cb74f8;
$custom-light: #dd9ffb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb74f8",
  "rgb": {
    "r": 203,
    "g": 116,
    "b": 248
  },
  "hsl": {
    "h": 279.545,
    "s": 90.411,
    "l": 71.373
  },
  "oklch": {
    "l": 0.70719,
    "c": 0.20059,
    "h": 312.8
  },
  "luminance": 0.31965
}

Semantic roles & 50–950 ramp

primary
#CB74F8
secondary
#DEF5D3
accent
#E6004E
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB74F8

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

Preview Lab → · Contrast checker → · Palette generator →

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