#CB74FC#CB74FC

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

Color values

HEX#CB74FC
RGBrgb(203, 116, 252)
HSLhsl(278, 96%, 72%)
HSVhsv(278, 54%, 99%)
CMYKcmyk(19.4%, 54%, 0%, 1.2%)
CIE-LABlab(63.52, 56.62, -54.50)
CIE-LCHlch(63.52, 78.59, 316.09°)
OKLaboklab(70.94% 0.1366 -0.1526)
OKLCHoklch(70.94% 0.205 311.8)
XYZxyz(48.4415, 32.2167, 95.7432)
Luminance0.3222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB74FC #A5FC74
analogous
#8774FC #CB74FC #FC74E9
triadic
#CB74FC #FCCB74 #74FCCB
tetradic
#CB74FC #FC8774 #A5FC74 #74E9FC
square
#CB74FC #FC8774 #A5FC74 #74E9FC
split-complementary
#CB74FC #E9FC74 #74FC87
monochromatic
#9C05F0 #B538FB #CB74FC #E1B0FD #F4E1FE

Accessibility & contrast

On white

2.82
#CB74FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#CB74FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB74FC
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB74FC#FFFFFF#000000##000000
##CB74FC1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cb74fc;
/* rgb */ color: rgb(203, 116, 252);
/* oklch */ color: oklch(70.9% 0.205 311.8);
Tailwind
colors: {
  custom: {
    50: '#de9ffe',
    500: '#cb74fc',
    950: '#000000',
  },
}
SCSS
$custom: #cb74fc;
$custom-light: #de9ffe;
$custom-dark: #000000;
JSON
{
  "hex": "#cb74fc",
  "rgb": {
    "r": 203,
    "g": 116,
    "b": 252
  },
  "hsl": {
    "h": 278.382,
    "s": 95.775,
    "l": 72.157
  },
  "oklch": {
    "l": 0.70938,
    "c": 0.2048,
    "h": 311.8
  },
  "luminance": 0.32216
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB74FC

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

Preview Lab → · Contrast checker → · Palette generator →

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