#CF95EF#CF95EF

#CF95EF is a light, vivid violet. Relative luminance 0.410; OKLCH L 75.8% C 0.139 H 312.9°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#CF95EF
RGBrgb(207, 149, 239)
HSLhsl(279, 74%, 76%)
HSVhsv(279, 38%, 94%)
CMYKcmyk(13.4%, 37.7%, 0%, 6.3%)
CIE-LABlab(70.17, 37.66, -36.89)
CIE-LCHlch(70.17, 52.71, 315.60°)
OKLaboklab(75.8% 0.0946 -0.1017)
OKLCHoklch(75.8% 0.139 312.9)
XYZxyz(52.0570, 40.9932, 86.8148)
Luminance0.4099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF95EF #B5EF95
analogous
#A295EF #CF95EF #EF95E2
triadic
#CF95EF #EFCF95 #95EFCF
tetradic
#CF95EF #EFA295 #B5EF95 #95E2EF
square
#CF95EF #EFA295 #B5EF95 #95E2EF
split-complementary
#CF95EF #E2EF95 #95EFA2
monochromatic
#9F2BDF #B760E7 #CF95EF #E7CAF7 #F3E4FB

Accessibility & contrast

On white

2.28
#CF95EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.20
#CF95EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF95EF
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF95EF#FFFFFF#000000##000000
##CF95EF1.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A8F2
Deuteranopia (green-blind)
#93ADEC
Tritanopia (blue-blind)
#CCA1B7
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cf95ef;
/* rgb */ color: rgb(207, 149, 239);
/* oklch */ color: oklch(75.8% 0.139 312.9);
Tailwind
colors: {
  custom: {
    50: '#dfb5f4',
    500: '#cf95ef',
    950: '#000000',
  },
}
SCSS
$custom: #cf95ef;
$custom-light: #dfb5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf95ef",
  "rgb": {
    "r": 207,
    "g": 149,
    "b": 239
  },
  "hsl": {
    "h": 278.667,
    "s": 73.77,
    "l": 76.078
  },
  "oklch": {
    "l": 0.75798,
    "c": 0.13889,
    "h": 312.9
  },
  "luminance": 0.40992
}

Semantic roles & 50–950 ramp

primary
#CF95EF
secondary
#E2F3D8
accent
#D61056
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CF95EF

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

Preview Lab → · Contrast checker → · Palette generator →

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