#CB74EF#CB74EF

#CB74EF is a light, vivid purple. Relative luminance 0.314; OKLCH L 70.2% C 0.191 H 315.2°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#CB74EF
RGBrgb(203, 116, 239)
HSLhsl(282, 79%, 70%)
HSVhsv(282, 51%, 94%)
CMYKcmyk(15.1%, 51.5%, 0%, 6.3%)
CIE-LABlab(62.86, 53.93, -48.38)
CIE-LCHlch(62.86, 72.44, 318.10°)
OKLaboklab(70.24% 0.1356 -0.1348)
OKLCHoklch(70.24% 0.191 315.2)
XYZxyz(46.4515, 31.4206, 85.2625)
Luminance0.3142 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB74EF #98EF74
analogous
#8E74EF #CB74EF #EF74D6
triadic
#CB74EF #EFCB74 #74EFCB
tetradic
#CB74EF #EF8E74 #98EF74 #74D6EF
square
#CB74EF #EF8E74 #98EF74 #74D6EF
split-complementary
#CB74EF #D6EF74 #74EF8E
monochromatic
#9B18D1 #B63DE9 #CB74EF #E0ABF5 #F4E2FC

Accessibility & contrast

On white

2.88
#CB74EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#CB74EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB74EF
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB74EF#FFFFFF#000000##000000
##CB74EF1.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5893F3
Deuteranopia (green-blind)
#739BEC
Tritanopia (blue-blind)
#C987A7
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cb74ef;
/* rgb */ color: rgb(203, 116, 239);
/* oklch */ color: oklch(70.2% 0.191 315.2);
Tailwind
colors: {
  custom: {
    50: '#dd9ff5',
    500: '#cb74ef',
    950: '#000000',
  },
}
SCSS
$custom: #cb74ef;
$custom-light: #dd9ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb74ef",
  "rgb": {
    "r": 203,
    "g": 116,
    "b": 239
  },
  "hsl": {
    "h": 282.439,
    "s": 79.355,
    "l": 69.608
  },
  "oklch": {
    "l": 0.70237,
    "c": 0.19116,
    "h": 315.2
  },
  "luminance": 0.31419
}

Semantic roles & 50–950 ramp

primary
#CB74EF
secondary
#D8F1CE
accent
#DC0A47
background
#FDFAFF
surface
#FBF3FE
border
#D4CDD6
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB74EF

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

Preview Lab → · Contrast checker → · Palette generator →

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