#CD90F5#CD90F5

#CD90F5 is a light, vivid violet. Relative luminance 0.395; OKLCH L 75.0% C 0.153 H 310.9°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#CD90F5
RGBrgb(205, 144, 245)
HSLhsl(276, 83%, 76%)
HSVhsv(276, 41%, 96%)
CMYKcmyk(16.3%, 41.2%, 0%, 3.9%)
CIE-LABlab(69.13, 41.04, -41.81)
CIE-LCHlch(69.13, 58.59, 314.47°)
OKLaboklab(75.05% 0.1005 -0.1159)
OKLCHoklch(75.05% 0.153 310.9)
XYZxyz(51.6286, 39.5191, 91.2767)
Luminance0.3952 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD90F5 #B8F590
analogous
#9B90F5 #CD90F5 #F590EA
triadic
#CD90F5 #F5CD90 #90F5CD
tetradic
#CD90F5 #F59B90 #B8F590 #90EAF5
square
#CD90F5 #F59B90 #B8F590 #90EAF5
split-complementary
#CD90F5 #EAF590 #90F59B
monochromatic
#9A20EB #B458F0 #CD90F5 #E6C8FA #F2E3FC

Accessibility & contrast

On white

2.36
#CD90F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#CD90F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD90F5
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD90F5#FFFFFF#000000##000000
##CD90F51.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA6F9
Deuteranopia (green-blind)
#8AAAF2
Tritanopia (blue-blind)
#C99FB7
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cd90f5;
/* rgb */ color: rgb(205, 144, 245);
/* oklch */ color: oklch(75.0% 0.153 310.9);
Tailwind
colors: {
  custom: {
    50: '#deb1f9',
    500: '#cd90f5',
    950: '#000000',
  },
}
SCSS
$custom: #cd90f5;
$custom-light: #deb1f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd90f5",
  "rgb": {
    "r": 205,
    "g": 144,
    "b": 245
  },
  "hsl": {
    "h": 276.238,
    "s": 83.471,
    "l": 76.275
  },
  "oklch": {
    "l": 0.75047,
    "c": 0.1534,
    "h": 310.9
  },
  "luminance": 0.39518
}

Semantic roles & 50–950 ramp

primary
#CD90F5
secondary
#E2F4D7
accent
#E0065C
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CD90F5

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

Preview Lab → · Contrast checker → · Palette generator →

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