#CD6BFA#CD6BFA

#CD6BFA is a light, highly saturated purple. Relative luminance 0.304; OKLCH L 69.8% C 0.217 H 313.8°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#CD6BFA
RGBrgb(205, 107, 250)
HSLhsl(281, 93%, 70%)
HSVhsv(281, 57%, 98%)
CMYKcmyk(18%, 57.2%, 0%, 2%)
CIE-LABlab(62.00, 61.11, -55.81)
CIE-LCHlch(62.00, 82.76, 317.60°)
OKLaboklab(69.84% 0.1501 -0.1564)
OKLCHoklch(69.84% 0.217 313.8)
XYZxyz(47.6870, 30.3980, 93.7793)
Luminance0.3040 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD6BFA #98FA6B
analogous
#866BFA #CD6BFA #FA6BDF
triadic
#CD6BFA #FACD6B #6BFACD
tetradic
#CD6BFA #FA866B #98FA6B #6BDFFA
square
#CD6BFA #FA866B #98FA6B #6BDFFA
split-complementary
#CD6BFA #DFFA6B #6BFA86
monochromatic
#9E08E3 #B930F8 #CD6BFA #E1A6FC #F5E1FE

Accessibility & contrast

On white

2.97
#CD6BFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#CD6BFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD6BFA
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD6BFA#FFFFFF#000000##000000
##CD6BFA1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4090FF
Deuteranopia (green-blind)
#6698F6
Tritanopia (blue-blind)
#C984A9
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cd6bfa;
/* rgb */ color: rgb(205, 107, 250);
/* oklch */ color: oklch(69.8% 0.217 313.8);
Tailwind
colors: {
  custom: {
    50: '#df9afc',
    500: '#cd6bfa',
    950: '#000000',
  },
}
SCSS
$custom: #cd6bfa;
$custom-light: #df9afc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd6bfa",
  "rgb": {
    "r": 205,
    "g": 107,
    "b": 250
  },
  "hsl": {
    "h": 281.119,
    "s": 93.464,
    "l": 70
  },
  "oklch": {
    "l": 0.69838,
    "c": 0.21674,
    "h": 313.8
  },
  "luminance": 0.30397
}

Semantic roles & 50–950 ramp

primary
#CD6BFA
secondary
#D9F4CC
accent
#E60048
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #CD6BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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