#CB74FA#CB74FA

#CB74FA is a light, highly saturated violet. Relative luminance 0.321; OKLCH L 70.8% C 0.203 H 312.3°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#CB74FA
RGBrgb(203, 116, 250)
HSLhsl(279, 93%, 72%)
HSVhsv(279, 54%, 98%)
CMYKcmyk(18.8%, 53.6%, 0%, 2%)
CIE-LABlab(63.42, 56.20, -53.57)
CIE-LCHlch(63.42, 77.64, 316.38°)
OKLaboklab(70.83% 0.1364 -0.1499)
OKLCHoklch(70.83% 0.203 312.3)
XYZxyz(48.1263, 32.0905, 94.0828)
Luminance0.3209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB74FA #A3FA74
analogous
#8874FA #CB74FA #FA74E6
triadic
#CB74FA #FACB74 #74FACB
tetradic
#CB74FA #FA8874 #A3FA74 #74E6FA
square
#CB74FA #FA8874 #A3FA74 #74E6FA
split-complementary
#CB74FA #E6FA74 #74FA88
monochromatic
#9C08EB #B539F8 #CB74FA #E1AFFC #F4E1FE

Accessibility & contrast

On white

2.83
#CB74FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#CB74FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB74FA
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB74FA#FFFFFF#000000##000000
##CB74FA1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F95FE
Deuteranopia (green-blind)
#6D9BF7
Tritanopia (blue-blind)
#C68BAC
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cb74fa;
/* rgb */ color: rgb(203, 116, 250);
/* oklch */ color: oklch(70.8% 0.203 312.3);
Tailwind
colors: {
  custom: {
    50: '#de9ffc',
    500: '#cb74fa',
    950: '#000000',
  },
}
SCSS
$custom: #cb74fa;
$custom-light: #de9ffc;
$custom-dark: #000000;
JSON
{
  "hex": "#cb74fa",
  "rgb": {
    "r": 203,
    "g": 116,
    "b": 250
  },
  "hsl": {
    "h": 278.955,
    "s": 93.056,
    "l": 71.765
  },
  "oklch": {
    "l": 0.70828,
    "c": 0.20269,
    "h": 312.3
  },
  "luminance": 0.32089
}

Semantic roles & 50–950 ramp

primary
#CB74FA
secondary
#E0F6D4
accent
#E60050
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB74FA

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

Preview Lab → · Contrast checker → · Palette generator →

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