#CF90EC#CF90EC

#CF90EC is a light, vivid purple. Relative luminance 0.393; OKLCH L 74.8% C 0.144 H 314.6°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#CF90EC
RGBrgb(207, 144, 236)
HSLhsl(281, 71%, 75%)
HSVhsv(281, 39%, 93%)
CMYKcmyk(12.3%, 39%, 0%, 7.5%)
CIE-LABlab(68.95, 39.74, -37.15)
CIE-LCHlch(68.95, 54.40, 316.93°)
OKLaboklab(74.83% 0.1011 -0.1024)
OKLCHoklch(74.83% 0.144 314.6)
XYZxyz(50.8433, 39.2692, 84.2420)
Luminance0.3927 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF90EC #ADEC90
analogous
#A190EC #CF90EC #EC90DB
triadic
#CF90EC #ECCF90 #90ECCF
tetradic
#CF90EC #ECA190 #ADEC90 #90DBEC
square
#CF90EC #ECA190 #ADEC90 #90DBEC
split-complementary
#CF90EC #DBEC90 #90ECA1
monochromatic
#A227DA #B85CE3 #CF90EC #E6C4F5 #F4E5FB

Accessibility & contrast

On white

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

On black

8.85
#CF90EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF90EC
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF90EC#FFFFFF#000000##000000
##CF90EC1.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A5EF
Deuteranopia (green-blind)
#90AAE9
Tritanopia (blue-blind)
#CD9CB3
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cf90ec;
/* rgb */ color: rgb(207, 144, 236);
/* oklch */ color: oklch(74.8% 0.144 314.6);
Tailwind
colors: {
  custom: {
    50: '#dfb1f2',
    500: '#cf90ec',
    950: '#000000',
  },
}
SCSS
$custom: #cf90ec;
$custom-light: #dfb1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf90ec",
  "rgb": {
    "r": 207,
    "g": 144,
    "b": 236
  },
  "hsl": {
    "h": 281.087,
    "s": 70.769,
    "l": 74.51
  },
  "oklch": {
    "l": 0.74832,
    "c": 0.14392,
    "h": 314.6
  },
  "luminance": 0.39268
}

Semantic roles & 50–950 ramp

primary
#CF90EC
secondary
#E1F2D9
accent
#D3134F
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CF90EC

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

Preview Lab → · Contrast checker → · Palette generator →

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