#CB79FB#CB79FB

#CB79FB is a light, vivid violet. Relative luminance 0.333; OKLCH L 71.6% C 0.196 H 311.5°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#CB79FB
RGBrgb(203, 121, 251)
HSLhsl(278, 94%, 73%)
HSVhsv(278, 52%, 98%)
CMYKcmyk(19.1%, 51.8%, 0%, 1.6%)
CIE-LABlab(64.43, 53.88, -52.51)
CIE-LCHlch(64.43, 75.23, 315.74°)
OKLaboklab(71.59% 0.1301 -0.1468)
OKLCHoklch(71.59% 0.196 311.5)
XYZxyz(48.8754, 33.3373, 95.1081)
Luminance0.3334 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB79FB #A9FB79
analogous
#8A79FB #CB79FB #FB79EA
triadic
#CB79FB #FBCB79 #79FBCB
tetradic
#CB79FB #FB8A79 #A9FB79 #79EAFB
square
#CB79FB #FB8A79 #A9FB79 #79EAFB
split-complementary
#CB79FB #EAFB79 #79FB8A
monochromatic
#9C07F2 #B43EF9 #CB79FB #E2B4FD #F3E1FE

Accessibility & contrast

On white

2.74
#CB79FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#CB79FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB79FB
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB79FB#FFFFFF#000000##000000
##CB79FB1.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5798FF
Deuteranopia (green-blind)
#719EF8
Tritanopia (blue-blind)
#C68FAF
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cb79fb;
/* rgb */ color: rgb(203, 121, 251);
/* oklch */ color: oklch(71.6% 0.196 311.5);
Tailwind
colors: {
  custom: {
    50: '#dda2fd',
    500: '#cb79fb',
    950: '#000000',
  },
}
SCSS
$custom: #cb79fb;
$custom-light: #dda2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb79fb",
  "rgb": {
    "r": 203,
    "g": 121,
    "b": 251
  },
  "hsl": {
    "h": 277.846,
    "s": 94.203,
    "l": 72.941
  },
  "oklch": {
    "l": 0.71593,
    "c": 0.19615,
    "h": 311.5
  },
  "luminance": 0.33336
}

Semantic roles & 50–950 ramp

primary
#CB79FB
secondary
#E1F6D5
accent
#E60055
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #CB79FB

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

Preview Lab → · Contrast checker → · Palette generator →

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