#CD81F4#CD81F4

#CD81F4 is a light, vivid violet. Relative luminance 0.352; OKLCH L 72.6% C 0.177 H 313.2°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#CD81F4
RGBrgb(205, 129, 244)
HSLhsl(280, 84%, 73%)
HSVhsv(280, 47%, 96%)
CMYKcmyk(16%, 47.1%, 0%, 4.3%)
CIE-LABlab(65.91, 48.80, -46.30)
CIE-LCHlch(65.91, 67.28, 316.51°)
OKLaboklab(72.63% 0.121 -0.1288)
OKLCHoklch(72.63% 0.177 313.2)
XYZxyz(49.3535, 35.2124, 89.7672)
Luminance0.3521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD81F4 #A8F481
analogous
#9381F4 #CD81F4 #F481E2
triadic
#CD81F4 #F4CD81 #81F4CD
tetradic
#CD81F4 #F49381 #A8F481 #81E2F4
square
#CD81F4 #F49381 #A8F481 #81E2F4
split-complementary
#CD81F4 #E2F481 #81F493
monochromatic
#9F14E6 #B749EF #CD81F4 #E3B9F9 #F4E3FD

Accessibility & contrast

On white

2.61
#CD81F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#CD81F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD81F4
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD81F4#FFFFFF#000000##000000
##CD81F41.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#689CF8
Deuteranopia (green-blind)
#7EA2F1
Tritanopia (blue-blind)
#CA93AF
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cd81f4;
/* rgb */ color: rgb(205, 129, 244);
/* oklch */ color: oklch(72.6% 0.177 313.2);
Tailwind
colors: {
  custom: {
    50: '#dea7f8',
    500: '#cd81f4',
    950: '#000000',
  },
}
SCSS
$custom: #cd81f4;
$custom-light: #dea7f8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd81f4",
  "rgb": {
    "r": 205,
    "g": 129,
    "b": 244
  },
  "hsl": {
    "h": 279.652,
    "s": 83.942,
    "l": 73.137
  },
  "oklch": {
    "l": 0.72629,
    "c": 0.17675,
    "h": 313.2
  },
  "luminance": 0.35211
}

Semantic roles & 50–950 ramp

primary
#CD81F4
secondary
#E1F4D7
accent
#E0054F
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CD81F4

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

Preview Lab → · Contrast checker → · Palette generator →

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