#CF90FC#CF90FC

#CF90FC is a light, vivid violet. Relative luminance 0.402; OKLCH L 75.6% C 0.162 H 309.9°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#CF90FC
RGBrgb(207, 144, 252)
HSLhsl(275, 95%, 78%)
HSVhsv(275, 43%, 99%)
CMYKcmyk(17.9%, 42.9%, 0%, 1.2%)
CIE-LABlab(69.64, 43.11, -44.81)
CIE-LCHlch(69.64, 62.18, 313.89°)
OKLaboklab(75.58% 0.104 -0.1245)
OKLCHoklch(75.58% 0.162 309.9)
XYZxyz(53.2728, 40.2410, 97.0375)
Luminance0.4024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF90FC #BDFC90
analogous
#9990FC #CF90FC #FC90F3
triadic
#CF90FC #FCCF90 #90FCCF
tetradic
#CF90FC #FC9990 #BDFC90 #90F3FC
square
#CF90FC #FC9990 #BDFC90 #90F3FC
split-complementary
#CF90FC #F3FC90 #90FC99
monochromatic
#9B19F9 #B554FA #CF90FC #E9CCFE #F2E1FE

Accessibility & contrast

On white

2.32
#CF90FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.05
#CF90FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF90FC
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF90FC#FFFFFF#000000##000000
##CF90FC1.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A7FF
Deuteranopia (green-blind)
#88ABF9
Tritanopia (blue-blind)
#CAA1BA
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cf90fc;
/* rgb */ color: rgb(207, 144, 252);
/* oklch */ color: oklch(75.6% 0.162 309.9);
Tailwind
colors: {
  custom: {
    50: '#dfb1fe',
    500: '#cf90fc',
    950: '#000000',
  },
}
SCSS
$custom: #cf90fc;
$custom-light: #dfb1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cf90fc",
  "rgb": {
    "r": 207,
    "g": 144,
    "b": 252
  },
  "hsl": {
    "h": 275,
    "s": 94.737,
    "l": 77.647
  },
  "oklch": {
    "l": 0.75583,
    "c": 0.16225,
    "h": 309.9
  },
  "luminance": 0.4024
}

Semantic roles & 50–950 ramp

primary
#CF90FC
secondary
#E3F6D5
accent
#E60060
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CF90FC

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

Preview Lab → · Contrast checker → · Palette generator →

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