#CF95FE#CF95FE

#CF95FE is a light, vivid violet. Relative luminance 0.419; OKLCH L 76.5% C 0.156 H 308.5°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#CF95FE
RGBrgb(207, 149, 254)
HSLhsl(273, 98%, 79%)
HSVhsv(273, 41%, 100%)
CMYKcmyk(18.5%, 41.3%, 0%, 0.4%)
CIE-LABlab(70.81, 40.85, -44.06)
CIE-LCHlch(70.81, 60.09, 312.84°)
OKLaboklab(76.49% 0.0975 -0.1224)
OKLCHoklch(76.49% 0.156 308.5)
XYZxyz(54.3656, 41.9167, 98.9734)
Luminance0.4192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF95FE #C4FE95
analogous
#9B95FE #CF95FE #FE95F8
triadic
#CF95FE #FECF95 #95FECF
tetradic
#CF95FE #FE9B95 #C4FE95 #95F8FE
square
#CF95FE #FE9B95 #C4FE95 #95F8FE
split-complementary
#CF95FE #F8FE95 #95FE9B
monochromatic
#981CFD #B458FD #CF95FE #EAD2FF #F1E1FF

Accessibility & contrast

On white

2.24
#CF95FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.38
#CF95FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF95FE
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF95FE#FFFFFF#000000##000000
##CF95FE1.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EABFF
Deuteranopia (green-blind)
#8CAEFB
Tritanopia (blue-blind)
#C9A5BE
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cf95fe;
/* rgb */ color: rgb(207, 149, 254);
/* oklch */ color: oklch(76.5% 0.156 308.5);
Tailwind
colors: {
  custom: {
    50: '#dfb5ff',
    500: '#cf95fe',
    950: '#000000',
  },
}
SCSS
$custom: #cf95fe;
$custom-light: #dfb5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cf95fe",
  "rgb": {
    "r": 207,
    "g": 149,
    "b": 254
  },
  "hsl": {
    "h": 273.143,
    "s": 98.131,
    "l": 79.02
  },
  "oklch": {
    "l": 0.76493,
    "c": 0.15644,
    "h": 308.5
  },
  "luminance": 0.41916
}

Semantic roles & 50–950 ramp

primary
#CF95FE
secondary
#E4F7D4
accent
#E60067
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CF95FE

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

Preview Lab → · Contrast checker → · Palette generator →

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