#CB74FB#CB74FB

#CB74FB is a light, highly saturated violet. Relative luminance 0.322; OKLCH L 70.9% C 0.204 H 312.1°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#CB74FB
RGBrgb(203, 116, 251)
HSLhsl(279, 94%, 72%)
HSVhsv(279, 54%, 98%)
CMYKcmyk(19.1%, 53.8%, 0%, 1.6%)
CIE-LABlab(63.47, 56.41, -54.03)
CIE-LCHlch(63.47, 78.12, 316.23°)
OKLaboklab(70.88% 0.1365 -0.1513)
OKLCHoklch(70.88% 0.204 312.1)
XYZxyz(48.2835, 32.1534, 94.9108)
Luminance0.3215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB74FB #A4FB74
analogous
#8874FB #CB74FB #FB74E7
triadic
#CB74FB #FBCB74 #74FBCB
tetradic
#CB74FB #FB8874 #A4FB74 #74E7FB
square
#CB74FB #FB8874 #A4FB74 #74E7FB
split-complementary
#CB74FB #E7FB74 #74FB88
monochromatic
#9C07EE #B539F9 #CB74FB #E1AFFD #F4E1FE

Accessibility & contrast

On white

2.83
#CB74FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#CB74FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB74FB
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB74FB#FFFFFF#000000##000000
##CB74FB1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E95FF
Deuteranopia (green-blind)
#6C9CF8
Tritanopia (blue-blind)
#C68BAD
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cb74fb;
/* rgb */ color: rgb(203, 116, 251);
/* oklch */ color: oklch(70.9% 0.204 312.1);
Tailwind
colors: {
  custom: {
    50: '#de9ffd',
    500: '#cb74fb',
    950: '#000000',
  },
}
SCSS
$custom: #cb74fb;
$custom-light: #de9ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb74fb",
  "rgb": {
    "r": 203,
    "g": 116,
    "b": 251
  },
  "hsl": {
    "h": 278.667,
    "s": 94.406,
    "l": 71.961
  },
  "oklch": {
    "l": 0.70883,
    "c": 0.20374,
    "h": 312.1
  },
  "luminance": 0.32152
}

Semantic roles & 50–950 ramp

primary
#CB74FB
secondary
#E1F6D4
accent
#E60052
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F18
muted
#837F86

Preview Lab

Preview with #CB74FB

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

Preview Lab → · Contrast checker → · Palette generator →

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