#CD95F0#CD95F0

#CD95F0 is a light, vivid violet. Relative luminance 0.408; OKLCH L 75.6% C 0.139 H 311.6°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#CD95F0
RGBrgb(205, 149, 240)
HSLhsl(277, 75%, 76%)
HSVhsv(277, 38%, 94%)
CMYKcmyk(14.6%, 37.9%, 0%, 5.9%)
CIE-LABlab(70.01, 37.28, -37.70)
CIE-LCHlch(70.01, 53.02, 314.68°)
OKLaboklab(75.65% 0.0925 -0.1041)
OKLCHoklch(75.65% 0.139 311.6)
XYZxyz(51.6497, 40.7661, 87.5689)
Luminance0.4077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD95F0 #B8F095
analogous
#A095F0 #CD95F0 #F095E6
triadic
#CD95F0 #F0CD95 #95F0CD
tetradic
#CD95F0 #F0A095 #B8F095 #95E6F0
square
#CD95F0 #F0A095 #B8F095 #95E6F0
split-complementary
#CD95F0 #E6F095 #95F0A0
monochromatic
#9A2AE1 #B45FE8 #CD95F0 #E6CBF8 #F2E4FB

Accessibility & contrast

On white

2.29
#CD95F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.15
#CD95F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD95F0
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD95F0#FFFFFF#000000##000000
##CD95F01.002.299.159.15
#FFFFFF2.291.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A8F3
Deuteranopia (green-blind)
#91ACED
Tritanopia (blue-blind)
#CAA2B7
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #cd95f0;
/* rgb */ color: rgb(205, 149, 240);
/* oklch */ color: oklch(75.6% 0.139 311.6);
Tailwind
colors: {
  custom: {
    50: '#ddb5f5',
    500: '#cd95f0',
    950: '#000000',
  },
}
SCSS
$custom: #cd95f0;
$custom-light: #ddb5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd95f0",
  "rgb": {
    "r": 205,
    "g": 149,
    "b": 240
  },
  "hsl": {
    "h": 276.923,
    "s": 75.207,
    "l": 76.275
  },
  "oklch": {
    "l": 0.75645,
    "c": 0.13923,
    "h": 311.6
  },
  "luminance": 0.40765
}

Semantic roles & 50–950 ramp

primary
#CD95F0
secondary
#E2F3D8
accent
#D70E5C
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CD95F0

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

Preview Lab → · Contrast checker → · Palette generator →

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