#CD94F2#CD94F2

#CD94F2 is a light, vivid violet. Relative luminance 0.406; OKLCH L 75.6% C 0.143 H 311.2°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#CD94F2
RGBrgb(205, 148, 242)
HSLhsl(276, 78%, 76%)
HSVhsv(276, 39%, 95%)
CMYKcmyk(15.3%, 38.8%, 0%, 5.1%)
CIE-LABlab(69.87, 38.24, -39.00)
CIE-LCHlch(69.87, 54.62, 314.44°)
OKLaboklab(75.57% 0.0943 -0.1078)
OKLCHoklch(75.57% 0.143 311.2)
XYZxyz(51.7909, 40.5706, 89.0898)
Luminance0.4057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD94F2 #B9F294
analogous
#9E94F2 #CD94F2 #F294E8
triadic
#CD94F2 #F2CD94 #94F2CD
tetradic
#CD94F2 #F29E94 #B9F294 #94E8F2
square
#CD94F2 #F29E94 #B9F294 #94E8F2
split-complementary
#CD94F2 #E8F294 #94F29E
monochromatic
#9A27E5 #B45DEB #CD94F2 #E7CBF9 #F2E4FC

Accessibility & contrast

On white

2.30
#CD94F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.11
#CD94F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD94F2
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD94F2#FFFFFF#000000##000000
##CD94F21.002.309.119.11
#FFFFFF2.301.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A8F6
Deuteranopia (green-blind)
#8FACEF
Tritanopia (blue-blind)
#C9A1B8
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #cd94f2;
/* rgb */ color: rgb(205, 148, 242);
/* oklch */ color: oklch(75.6% 0.143 311.2);
Tailwind
colors: {
  custom: {
    50: '#ddb4f6',
    500: '#cd94f2',
    950: '#000000',
  },
}
SCSS
$custom: #cd94f2;
$custom-light: #ddb4f6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd94f2",
  "rgb": {
    "r": 205,
    "g": 148,
    "b": 242
  },
  "hsl": {
    "h": 276.383,
    "s": 78.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.75569,
    "c": 0.14325,
    "h": 311.2
  },
  "luminance": 0.4057
}

Semantic roles & 50–950 ramp

primary
#CD94F2
secondary
#E3F3D8
accent
#DB0B5D
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151117
muted
#838085

Preview Lab

Preview with #CD94F2

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

Preview Lab → · Contrast checker → · Palette generator →

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