#CB74F9#CB74F9

#CB74F9 is a light, highly saturated violet. Relative luminance 0.320; OKLCH L 70.8% C 0.202 H 312.6°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#CB74F9
RGBrgb(203, 116, 249)
HSLhsl(279, 92%, 72%)
HSVhsv(279, 53%, 98%)
CMYKcmyk(18.5%, 53.4%, 0%, 2.4%)
CIE-LABlab(63.37, 55.99, -53.10)
CIE-LCHlch(63.37, 77.17, 316.52°)
OKLaboklab(70.77% 0.1364 -0.1485)
OKLCHoklch(70.77% 0.202 312.6)
XYZxyz(47.9699, 32.0280, 93.2592)
Luminance0.3203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB74F9 #A2F974
analogous
#8974F9 #CB74F9 #F974E5
triadic
#CB74F9 #F9CB74 #74F9CB
tetradic
#CB74F9 #F98974 #A2F974 #74E5F9
square
#CB74F9 #F98974 #A2F974 #74E5F9
split-complementary
#CB74F9 #E5F974 #74F989
monochromatic
#9C0AE9 #B539F6 #CB74F9 #E1AFFC #F4E2FE

Accessibility & contrast

On white

2.84
#CB74F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#CB74F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB74F9
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB74F9#FFFFFF#000000##000000
##CB74F91.002.847.417.41
#FFFFFF2.841.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5095FD
Deuteranopia (green-blind)
#6D9BF6
Tritanopia (blue-blind)
#C68AAC
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cb74f9;
/* rgb */ color: rgb(203, 116, 249);
/* oklch */ color: oklch(70.8% 0.202 312.6);
Tailwind
colors: {
  custom: {
    50: '#de9ffc',
    500: '#cb74f9',
    950: '#000000',
  },
}
SCSS
$custom: #cb74f9;
$custom-light: #de9ffc;
$custom-dark: #000000;
JSON
{
  "hex": "#cb74f9",
  "rgb": {
    "r": 203,
    "g": 116,
    "b": 249
  },
  "hsl": {
    "h": 279.248,
    "s": 91.724,
    "l": 71.569
  },
  "oklch": {
    "l": 0.70774,
    "c": 0.20164,
    "h": 312.6
  },
  "luminance": 0.32027
}

Semantic roles & 50–950 ramp

primary
#CB74F9
secondary
#DFF5D3
accent
#E6004F
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB74F9

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

Preview Lab → · Contrast checker → · Palette generator →

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