#CD90F4#CD90F4

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

Color values

HEX#CD90F4
RGBrgb(205, 144, 244)
HSLhsl(277, 82%, 76%)
HSVhsv(277, 41%, 96%)
CMYKcmyk(16%, 41%, 0%, 4.3%)
CIE-LABlab(69.08, 40.83, -41.33)
CIE-LCHlch(69.08, 58.10, 314.65°)
OKLaboklab(75% 0.1003 -0.1145)
OKLCHoklch(75% 0.152 311.2)
XYZxyz(51.4764, 39.4582, 90.4748)
Luminance0.3946 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD90F4 #B7F490
analogous
#9B90F4 #CD90F4 #F490E9
triadic
#CD90F4 #F4CD90 #90F4CD
tetradic
#CD90F4 #F49B90 #B7F490 #90E9F4
square
#CD90F4 #F49B90 #B7F490 #90E9F4
split-complementary
#CD90F4 #E9F490 #90F49B
monochromatic
#9B21E9 #B458EE #CD90F4 #E6C8FA #F2E3FC

Accessibility & contrast

On white

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

On black

8.89
#CD90F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD90F4
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD90F4#FFFFFF#000000##000000
##CD90F41.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA6F8
Deuteranopia (green-blind)
#8BAAF1
Tritanopia (blue-blind)
#C99FB6
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cd90f4;
/* rgb */ color: rgb(205, 144, 244);
/* oklch */ color: oklch(75.0% 0.152 311.2);
Tailwind
colors: {
  custom: {
    50: '#deb1f8',
    500: '#cd90f4',
    950: '#000000',
  },
}
SCSS
$custom: #cd90f4;
$custom-light: #deb1f8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd90f4",
  "rgb": {
    "r": 205,
    "g": 144,
    "b": 244
  },
  "hsl": {
    "h": 276.6,
    "s": 81.967,
    "l": 76.078
  },
  "oklch": {
    "l": 0.75,
    "c": 0.15224,
    "h": 311.2
  },
  "luminance": 0.39457
}

Semantic roles & 50–950 ramp

primary
#CD90F4
secondary
#E2F4D7
accent
#DE075B
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CD90F4

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

Preview Lab → · Contrast checker → · Palette generator →

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