#CD74FB#CD74FB

#CD74FB is a light, highly saturated violet. Relative luminance 0.324; OKLCH L 71.1% C 0.204 H 312.8°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#CD74FB
RGBrgb(205, 116, 251)
HSLhsl(280, 94%, 72%)
HSVhsv(280, 54%, 98%)
CMYKcmyk(18.3%, 53.8%, 0%, 1.6%)
CIE-LABlab(63.70, 56.92, -53.65)
CIE-LCHlch(63.70, 78.22, 316.69°)
OKLaboklab(71.1% 0.1389 -0.1501)
OKLCHoklch(71.1% 0.204 312.8)
XYZxyz(48.8318, 32.4362, 94.9365)
Luminance0.3244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD74FB #A2FB74
analogous
#8A74FB #CD74FB #FB74E5
triadic
#CD74FB #FBCD74 #74FBCD
tetradic
#CD74FB #FB8A74 #A2FB74 #74E5FB
square
#CD74FB #FB8A74 #A2FB74 #74E5FB
split-complementary
#CD74FB #E5FB74 #74FB8A
monochromatic
#9F07EE #B839F9 #CD74FB #E2AFFD #F4E1FE

Accessibility & contrast

On white

2.80
#CD74FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#CD74FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD74FB
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD74FB#FFFFFF#000000##000000
##CD74FB1.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F96FF
Deuteranopia (green-blind)
#6E9CF8
Tritanopia (blue-blind)
#C88BAD
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cd74fb;
/* rgb */ color: rgb(205, 116, 251);
/* oklch */ color: oklch(71.1% 0.204 312.8);
Tailwind
colors: {
  custom: {
    50: '#df9ffd',
    500: '#cd74fb',
    950: '#000000',
  },
}
SCSS
$custom: #cd74fb;
$custom-light: #df9ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd74fb",
  "rgb": {
    "r": 205,
    "g": 116,
    "b": 251
  },
  "hsl": {
    "h": 279.556,
    "s": 94.406,
    "l": 71.961
  },
  "oklch": {
    "l": 0.71105,
    "c": 0.20448,
    "h": 312.8
  },
  "luminance": 0.32435
}

Semantic roles & 50–950 ramp

primary
#CD74FB
secondary
#E0F6D4
accent
#E6004E
background
#FEFAFF
surface
#FCF3FF
border
#D5CDD7
text
#150F18
muted
#847F86

Preview Lab

Preview with #CD74FB

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

Preview Lab → · Contrast checker → · Palette generator →

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