#CD74FA#CD74FA

#CD74FA is a light, highly saturated violet. Relative luminance 0.324; OKLCH L 71.0% C 0.203 H 313.0°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#CD74FA
RGBrgb(205, 116, 250)
HSLhsl(280, 93%, 72%)
HSVhsv(280, 54%, 98%)
CMYKcmyk(18%, 53.6%, 0%, 2%)
CIE-LABlab(63.65, 56.71, -53.18)
CIE-LCHlch(63.65, 77.75, 316.84°)
OKLaboklab(71.05% 0.1388 -0.1487)
OKLCHoklch(71.05% 0.203 313)
XYZxyz(48.6746, 32.3733, 94.1085)
Luminance0.3237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD74FA #A1FA74
analogous
#8A74FA #CD74FA #FA74E4
triadic
#CD74FA #FACD74 #74FACD
tetradic
#CD74FA #FA8A74 #A1FA74 #74E4FA
square
#CD74FA #FA8A74 #A1FA74 #74E4FA
split-complementary
#CD74FA #E4FA74 #74FA8A
monochromatic
#9F08EB #B839F8 #CD74FA #E2AFFC #F4E1FE

Accessibility & contrast

On white

2.81
#CD74FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#CD74FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD74FA
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD74FA#FFFFFF#000000##000000
##CD74FA1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5095FE
Deuteranopia (green-blind)
#6E9CF7
Tritanopia (blue-blind)
#C98AAC
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cd74fa;
/* rgb */ color: rgb(205, 116, 250);
/* oklch */ color: oklch(71.0% 0.203 313.0);
Tailwind
colors: {
  custom: {
    50: '#df9ffc',
    500: '#cd74fa',
    950: '#000000',
  },
}
SCSS
$custom: #cd74fa;
$custom-light: #df9ffc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd74fa",
  "rgb": {
    "r": 205,
    "g": 116,
    "b": 250
  },
  "hsl": {
    "h": 279.851,
    "s": 93.056,
    "l": 71.765
  },
  "oklch": {
    "l": 0.7105,
    "c": 0.20344,
    "h": 313
  },
  "luminance": 0.32372
}

Semantic roles & 50–950 ramp

primary
#CD74FA
secondary
#DFF6D4
accent
#E6004D
background
#FEFAFF
surface
#FCF3FF
border
#D5CDD7
text
#150F17
muted
#847F85

Preview Lab

Preview with #CD74FA

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

Preview Lab → · Contrast checker → · Palette generator →

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