#CF95F8#CF95F8

#CF95F8 is a light, vivid violet. Relative luminance 0.415; OKLCH L 76.2% C 0.149 H 310.2°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#CF95F8
RGBrgb(207, 149, 248)
HSLhsl(275, 88%, 78%)
HSVhsv(275, 40%, 97%)
CMYKcmyk(16.5%, 39.9%, 0%, 2.7%)
CIE-LABlab(70.55, 39.56, -41.21)
CIE-LCHlch(70.55, 57.12, 313.83°)
OKLaboklab(76.21% 0.0964 -0.1141)
OKLCHoklch(76.21% 0.149 310.2)
XYZxyz(53.4198, 41.5384, 93.9923)
Luminance0.4154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF95F8 #BEF895
analogous
#9E95F8 #CF95F8 #F895EF
triadic
#CF95F8 #F8CF95 #95F8CF
tetradic
#CF95F8 #F89E95 #BEF895 #95EFF8
square
#CF95F8 #F89E95 #BEF895 #95EFF8
split-complementary
#CF95F8 #EFF895 #95F89E
monochromatic
#9B22F0 #B55CF4 #CF95F8 #E9CEFC #F2E2FD

Accessibility & contrast

On white

2.26
#CF95F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.31
#CF95F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF95F8
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF95F8#FFFFFF#000000##000000
##CF95F81.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#81AAFC
Deuteranopia (green-blind)
#8FAEF5
Tritanopia (blue-blind)
#CAA4BB
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cf95f8;
/* rgb */ color: rgb(207, 149, 248);
/* oklch */ color: oklch(76.2% 0.149 310.2);
Tailwind
colors: {
  custom: {
    50: '#dfb5fb',
    500: '#cf95f8',
    950: '#000000',
  },
}
SCSS
$custom: #cf95f8;
$custom-light: #dfb5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf95f8",
  "rgb": {
    "r": 207,
    "g": 149,
    "b": 248
  },
  "hsl": {
    "h": 275.152,
    "s": 87.611,
    "l": 77.843
  },
  "oklch": {
    "l": 0.7621,
    "c": 0.14939,
    "h": 310.2
  },
  "luminance": 0.41538
}

Semantic roles & 50–950 ramp

primary
#CF95F8
secondary
#E3F5D6
accent
#E4015F
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CF95F8

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

Preview Lab → · Contrast checker → · Palette generator →

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