#CD90F2#CD90F2

#CD90F2 is a light, vivid violet. Relative luminance 0.393; OKLCH L 74.9% C 0.150 H 311.8°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#CD90F2
RGBrgb(205, 144, 242)
HSLhsl(277, 79%, 76%)
HSVhsv(277, 40%, 95%)
CMYKcmyk(15.3%, 40.5%, 0%, 5.1%)
CIE-LABlab(69.00, 40.41, -40.38)
CIE-LCHlch(69.00, 57.12, 315.02°)
OKLaboklab(74.91% 0.1 -0.1117)
OKLCHoklch(74.91% 0.15 311.8)
XYZxyz(51.1743, 39.3374, 88.8842)
Luminance0.3934 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD90F2 #B5F290
analogous
#9C90F2 #CD90F2 #F290E6
triadic
#CD90F2 #F2CD90 #90F2CD
tetradic
#CD90F2 #F29C90 #B5F290 #90E6F2
square
#CD90F2 #F29C90 #B5F290 #90E6F2
split-complementary
#CD90F2 #E6F290 #90F29C
monochromatic
#9C22E5 #B459EC #CD90F2 #E6C7F8 #F3E4FC

Accessibility & contrast

On white

2.37
#CD90F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#CD90F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD90F2
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD90F2#FFFFFF#000000##000000
##CD90F21.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA5F6
Deuteranopia (green-blind)
#8CAAEF
Tritanopia (blue-blind)
#C99EB6
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cd90f2;
/* rgb */ color: rgb(205, 144, 242);
/* oklch */ color: oklch(74.9% 0.150 311.8);
Tailwind
colors: {
  custom: {
    50: '#deb1f6',
    500: '#cd90f2',
    950: '#000000',
  },
}
SCSS
$custom: #cd90f2;
$custom-light: #deb1f6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd90f2",
  "rgb": {
    "r": 205,
    "g": 144,
    "b": 242
  },
  "hsl": {
    "h": 277.347,
    "s": 79.032,
    "l": 75.686
  },
  "oklch": {
    "l": 0.74906,
    "c": 0.14993,
    "h": 311.8
  },
  "luminance": 0.39336
}

Semantic roles & 50–950 ramp

primary
#CD90F2
secondary
#E2F4D7
accent
#DB0A59
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151117
muted
#838085

Preview Lab

Preview with #CD90F2

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

Preview Lab → · Contrast checker → · Palette generator →

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