#C74BEB#C74BEB

#C74BEB is a light, highly saturated purple. Relative luminance 0.232; OKLCH L 64.5% C 0.243 H 317.7°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#C74BEB
RGBrgb(199, 75, 235)
HSLhsl(287, 80%, 61%)
HSVhsv(287, 68%, 92%)
CMYKcmyk(15.3%, 68.1%, 0%, 7.8%)
CIE-LABlab(55.25, 70.87, -58.29)
CIE-LCHlch(55.25, 91.76, 320.56°)
OKLaboklab(64.52% 0.1795 -0.1636)
OKLCHoklch(64.52% 0.243 317.7)
XYZxyz(41.0625, 23.1742, 80.8912)
Luminance0.2317 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74BEB #6FEB4B
analogous
#774BEB #C74BEB #EB4BBF
triadic
#C74BEB #EBC74B #4BEBC7
tetradic
#C74BEB #EB774B #6FEB4B #4BBFEB
square
#C74BEB #EB774B #6FEB4B #4BBFEB
split-complementary
#C74BEB #BFEB4B #4BEB77
monochromatic
#8713A9 #B319E0 #C74BEB #D882F1 #E9B9F7

Accessibility & contrast

On white

3.73
#C74BEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#C74BEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74BEB
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74BEB#FFFFFF#000000##000000
##C74BEB1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF0
Deuteranopia (green-blind)
#5088E7
Tritanopia (blue-blind)
#C66A96
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #c74beb;
/* rgb */ color: rgb(199, 75, 235);
/* oklch */ color: oklch(64.5% 0.243 317.7);
Tailwind
colors: {
  custom: {
    50: '#dc87f2',
    500: '#c74beb',
    950: '#000000',
  },
}
SCSS
$custom: #c74beb;
$custom-light: #dc87f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c74beb",
  "rgb": {
    "r": 199,
    "g": 75,
    "b": 235
  },
  "hsl": {
    "h": 286.5,
    "s": 80,
    "l": 60.784
  },
  "oklch": {
    "l": 0.64523,
    "c": 0.24285,
    "h": 317.7
  },
  "luminance": 0.23172
}

Semantic roles & 50–950 ramp

primary
#C74BEB
secondary
#B8E7AB
accent
#DC0939
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#150C17
muted
#847D85

Preview Lab

Preview with #C74BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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