#CB74FF#CB74FF

#CB74FF is a light, highly saturated violet. Relative luminance 0.324; OKLCH L 71.1% C 0.208 H 311.1°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#CB74FF
RGBrgb(203, 116, 255)
HSLhsl(278, 100%, 73%)
HSVhsv(278, 55%, 100%)
CMYKcmyk(20.4%, 54.5%, 0%, 0%)
CIE-LABlab(63.68, 57.26, -55.90)
CIE-LCHlch(63.68, 80.02, 315.69°)
OKLaboklab(71.1% 0.1367 -0.1567)
OKLCHoklch(71.1% 0.208 311.1)
XYZxyz(48.9207, 32.4083, 98.2667)
Luminance0.3241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB74FF #A8FF74
analogous
#8574FF #CB74FF #FF74ED
triadic
#CB74FF #FFCB74 #74FFCB
tetradic
#CB74FF #FF8574 #A8FF74 #74EDFF
square
#CB74FF #FF8574 #A8FF74 #74EDFF
split-complementary
#CB74FF #EDFF74 #74FF85
monochromatic
#9C00F9 #B437FF #CB74FF #E2B1FF #F4E0FF

Accessibility & contrast

On white

2.81
#CB74FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#CB74FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB74FF
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB74FF#FFFFFF#000000##000000
##CB74FF1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B96FF
Deuteranopia (green-blind)
#699CFC
Tritanopia (blue-blind)
#C58CAF
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cb74ff;
/* rgb */ color: rgb(203, 116, 255);
/* oklch */ color: oklch(71.1% 0.208 311.1);
Tailwind
colors: {
  custom: {
    50: '#de9fff',
    500: '#cb74ff',
    950: '#000000',
  },
}
SCSS
$custom: #cb74ff;
$custom-light: #de9fff;
$custom-dark: #000000;
JSON
{
  "hex": "#cb74ff",
  "rgb": {
    "r": 203,
    "g": 116,
    "b": 255
  },
  "hsl": {
    "h": 277.554,
    "s": 100,
    "l": 72.745
  },
  "oklch": {
    "l": 0.71105,
    "c": 0.20797,
    "h": 311.1
  },
  "luminance": 0.32407
}

Semantic roles & 50–950 ramp

primary
#CB74FF
secondary
#E1F7D4
accent
#E60056
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F18
muted
#837F86

Preview Lab

Preview with #CB74FF

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

Preview Lab → · Contrast checker → · Palette generator →

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