#CB74FE#CB74FE

#CB74FE is a light, highly saturated violet. Relative luminance 0.323; OKLCH L 71.0% C 0.207 H 311.3°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#CB74FE
RGBrgb(203, 116, 254)
HSLhsl(278, 99%, 73%)
HSVhsv(278, 54%, 100%)
CMYKcmyk(20.1%, 54.3%, 0%, 0.4%)
CIE-LABlab(63.63, 57.05, -55.43)
CIE-LCHlch(63.63, 79.54, 315.82°)
OKLaboklab(71.05% 0.1367 -0.1553)
OKLCHoklch(71.05% 0.207 311.3)
XYZxyz(48.7601, 32.3441, 97.4211)
Luminance0.3234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB74FE #A7FE74
analogous
#8674FE #CB74FE #FE74EC
triadic
#CB74FE #FECB74 #74FECB
tetradic
#CB74FE #FE8674 #A7FE74 #74ECFE
square
#CB74FE #FE8674 #A7FE74 #74ECFE
split-complementary
#CB74FE #ECFE74 #74FE86
monochromatic
#9C02F6 #B437FE #CB74FE #E2B1FE #F4E1FF

Accessibility & contrast

On white

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

On black

7.47
#CB74FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB74FE
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB74FE#FFFFFF#000000##000000
##CB74FE1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C96FF
Deuteranopia (green-blind)
#6A9CFB
Tritanopia (blue-blind)
#C58CAE
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cb74fe;
/* rgb */ color: rgb(203, 116, 254);
/* oklch */ color: oklch(71.0% 0.207 311.3);
Tailwind
colors: {
  custom: {
    50: '#de9fff',
    500: '#cb74fe',
    950: '#000000',
  },
}
SCSS
$custom: #cb74fe;
$custom-light: #de9fff;
$custom-dark: #000000;
JSON
{
  "hex": "#cb74fe",
  "rgb": {
    "r": 203,
    "g": 116,
    "b": 254
  },
  "hsl": {
    "h": 277.826,
    "s": 98.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.71049,
    "c": 0.20691,
    "h": 311.3
  },
  "luminance": 0.32343
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB74FE

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

Preview Lab → · Contrast checker → · Palette generator →

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