#CB74FD#CB74FD

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

Color values

HEX#CB74FD
RGBrgb(203, 116, 253)
HSLhsl(278, 97%, 72%)
HSVhsv(278, 54%, 99%)
CMYKcmyk(19.8%, 54.2%, 0%, 0.8%)
CIE-LABlab(63.57, 56.84, -54.97)
CIE-LCHlch(63.57, 79.07, 315.96°)
OKLaboklab(70.99% 0.1366 -0.154)
OKLCHoklch(70.99% 0.206 311.6)
XYZxyz(48.6004, 32.2802, 96.5800)
Luminance0.3228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB74FD #A6FD74
analogous
#8674FD #CB74FD #FD74EB
triadic
#CB74FD #FDCB74 #74FDCB
tetradic
#CB74FD #FD8674 #A6FD74 #74EBFD
square
#CB74FD #FD8674 #A6FD74 #74EBFD
split-complementary
#CB74FD #EBFD74 #74FD86
monochromatic
#9C03F3 #B438FC #CB74FD #E2B0FE #F4E1FF

Accessibility & contrast

On white

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

On black

7.46
#CB74FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB74FD
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB74FD#FFFFFF#000000##000000
##CB74FD1.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cb74fd;
/* rgb */ color: rgb(203, 116, 253);
/* oklch */ color: oklch(71.0% 0.206 311.6);
Tailwind
colors: {
  custom: {
    50: '#de9fff',
    500: '#cb74fd',
    950: '#000000',
  },
}
SCSS
$custom: #cb74fd;
$custom-light: #de9fff;
$custom-dark: #000000;
JSON
{
  "hex": "#cb74fd",
  "rgb": {
    "r": 203,
    "g": 116,
    "b": 253
  },
  "hsl": {
    "h": 278.102,
    "s": 97.163,
    "l": 72.353
  },
  "oklch": {
    "l": 0.70994,
    "c": 0.20586,
    "h": 311.6
  },
  "luminance": 0.32279
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB74FD

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

Preview Lab → · Contrast checker → · Palette generator →

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