#CD90F7#CD90F7

#CD90F7 is a light, vivid violet. Relative luminance 0.396; OKLCH L 75.1% C 0.156 H 310.4°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#CD90F7
RGBrgb(205, 144, 247)
HSLhsl(276, 87%, 77%)
HSVhsv(276, 42%, 97%)
CMYKcmyk(17%, 41.7%, 0%, 3.1%)
CIE-LABlab(69.21, 41.47, -42.77)
CIE-LCHlch(69.21, 59.57, 314.12°)
OKLaboklab(75.14% 0.1009 -0.1186)
OKLCHoklch(75.14% 0.156 310.4)
XYZxyz(51.9356, 39.6418, 92.8933)
Luminance0.3964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD90F7 #BAF790
analogous
#9A90F7 #CD90F7 #F790EE
triadic
#CD90F7 #F7CD90 #90F7CD
tetradic
#CD90F7 #F79A90 #BAF790 #90EEF7
square
#CD90F7 #F79A90 #BAF790 #90EEF7
split-complementary
#CD90F7 #EEF790 #90F79A
monochromatic
#9A1EEF #B357F3 #CD90F7 #E7C9FB #F2E2FD

Accessibility & contrast

On white

2.35
#CD90F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#CD90F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD90F7
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD90F7#FFFFFF#000000##000000
##CD90F71.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA6FB
Deuteranopia (green-blind)
#8AAAF4
Tritanopia (blue-blind)
#C89FB8
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cd90f7;
/* rgb */ color: rgb(205, 144, 247);
/* oklch */ color: oklch(75.1% 0.156 310.4);
Tailwind
colors: {
  custom: {
    50: '#deb1fa',
    500: '#cd90f7',
    950: '#000000',
  },
}
SCSS
$custom: #cd90f7;
$custom-light: #deb1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cd90f7",
  "rgb": {
    "r": 205,
    "g": 144,
    "b": 247
  },
  "hsl": {
    "h": 275.534,
    "s": 86.555,
    "l": 76.667
  },
  "oklch": {
    "l": 0.75142,
    "c": 0.15573,
    "h": 310.4
  },
  "luminance": 0.39641
}

Semantic roles & 50–950 ramp

primary
#CD90F7
secondary
#E3F5D6
accent
#E3025E
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CD90F7

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

Preview Lab → · Contrast checker → · Palette generator →

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