#CD95F9#CD95F9

#CD95F9 is a light, vivid violet. Relative luminance 0.413; OKLCH L 76.1% C 0.150 H 309.0°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#CD95F9
RGBrgb(205, 149, 249)
HSLhsl(274, 89%, 78%)
HSVhsv(274, 40%, 98%)
CMYKcmyk(17.7%, 40.2%, 0%, 2.4%)
CIE-LABlab(70.40, 39.20, -42.01)
CIE-LCHlch(70.40, 57.46, 313.02°)
OKLaboklab(76.06% 0.0943 -0.1165)
OKLCHoklch(76.06% 0.15 309)
XYZxyz(53.0200, 41.3142, 94.7855)
Luminance0.4131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD95F9 #C1F995
analogous
#9B95F9 #CD95F9 #F995F3
triadic
#CD95F9 #F9CD95 #95F9CD
tetradic
#CD95F9 #F99B95 #C1F995 #95F3F9
square
#CD95F9 #F99B95 #C1F995 #95F3F9
split-complementary
#CD95F9 #F3F995 #95F99B
monochromatic
#9621F2 #B25BF6 #CD95F9 #E8CFFC #F1E2FD

Accessibility & contrast

On white

2.27
#CD95F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.26
#CD95F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD95F9
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD95F9#FFFFFF#000000##000000
##CD95F91.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#80AAFD
Deuteranopia (green-blind)
#8DADF6
Tritanopia (blue-blind)
#C7A4BB
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cd95f9;
/* rgb */ color: rgb(205, 149, 249);
/* oklch */ color: oklch(76.1% 0.150 309.0);
Tailwind
colors: {
  custom: {
    50: '#deb5fb',
    500: '#cd95f9',
    950: '#000000',
  },
}
SCSS
$custom: #cd95f9;
$custom-light: #deb5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd95f9",
  "rgb": {
    "r": 205,
    "g": 149,
    "b": 249
  },
  "hsl": {
    "h": 273.6,
    "s": 89.286,
    "l": 78.039
  },
  "oklch": {
    "l": 0.76061,
    "c": 0.14984,
    "h": 309
  },
  "luminance": 0.41314
}

Semantic roles & 50–950 ramp

primary
#CD95F9
secondary
#E4F5D6
accent
#E60065
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CD95F9

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

Preview Lab → · Contrast checker → · Palette generator →

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