#CD7FFB#CD7FFB

#CD7FFB is a light, vivid violet. Relative luminance 0.351; OKLCH L 72.7% C 0.188 H 311.6°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#CD7FFB
RGBrgb(205, 127, 251)
HSLhsl(278, 94%, 74%)
HSVhsv(278, 49%, 98%)
CMYKcmyk(18.3%, 49.4%, 0%, 1.6%)
CIE-LABlab(65.84, 51.32, -50.26)
CIE-LCHlch(65.84, 71.83, 315.60°)
OKLaboklab(72.69% 0.1246 -0.1403)
OKLCHoklch(72.69% 0.188 311.6)
XYZxyz(50.1757, 35.1239, 95.3845)
Luminance0.3512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7FFB #ADFB7F
analogous
#8F7FFB #CD7FFB #FB7FEB
triadic
#CD7FFB #FBCD7F #7FFBCD
tetradic
#CD7FFB #FB8F7F #ADFB7F #7FEBFB
square
#CD7FFB #FB8F7F #ADFB7F #7FEBFB
split-complementary
#CD7FFB #EBFB7F #7FFB8F
monochromatic
#9F08F7 #B644F9 #CD7FFB #E4BAFD #F3E1FE

Accessibility & contrast

On white

2.62
#CD7FFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#CD7FFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7FFB
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7FFB#FFFFFF#000000##000000
##CD7FFB1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#619CFF
Deuteranopia (green-blind)
#78A2F8
Tritanopia (blue-blind)
#C893B2
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cd7ffb;
/* rgb */ color: rgb(205, 127, 251);
/* oklch */ color: oklch(72.7% 0.188 311.6);
Tailwind
colors: {
  custom: {
    50: '#dfa6fd',
    500: '#cd7ffb',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ffb;
$custom-light: #dfa6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ffb",
  "rgb": {
    "r": 205,
    "g": 127,
    "b": 251
  },
  "hsl": {
    "h": 277.742,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.72687,
    "c": 0.18758,
    "h": 311.6
  },
  "luminance": 0.35123
}

Semantic roles & 50–950 ramp

primary
#CD7FFB
secondary
#E1F6D5
accent
#E60055
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CD7FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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