#CD65F2#CD65F2

#CD65F2 is a light, highly saturated purple. Relative luminance 0.287; OKLCH L 68.6% C 0.217 H 316.3°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#CD65F2
RGBrgb(205, 101, 242)
HSLhsl(284, 84%, 67%)
HSVhsv(284, 58%, 95%)
CMYKcmyk(15.3%, 58.3%, 0%, 5.1%)
CIE-LABlab(60.52, 62.34, -53.74)
CIE-LCHlch(60.52, 82.31, 319.24°)
OKLaboklab(68.62% 0.1572 -0.1503)
OKLCHoklch(68.62% 0.217 316.3)
XYZxyz(45.8551, 28.6989, 87.1111)
Luminance0.2870 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD65F2 #8AF265
analogous
#8665F2 #CD65F2 #F265D1
triadic
#CD65F2 #F2CD65 #65F2CD
tetradic
#CD65F2 #F28665 #8AF265 #65D1F2
square
#CD65F2 #F28665 #8AF265 #65D1F2
split-complementary
#CD65F2 #D1F265 #65F286
monochromatic
#9B11CB #BB2DED #CD65F2 #DF9DF7 #F2D6FC

Accessibility & contrast

On white

3.12
#CD65F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#CD65F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD65F2
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD65F2#FFFFFF#000000##000000
##CD65F21.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8CF6
Deuteranopia (green-blind)
#6695EE
Tritanopia (blue-blind)
#CB7DA2
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #cd65f2;
/* rgb */ color: rgb(205, 101, 242);
/* oklch */ color: oklch(68.6% 0.217 316.3);
Tailwind
colors: {
  custom: {
    50: '#df96f7',
    500: '#cd65f2',
    950: '#000000',
  },
}
SCSS
$custom: #cd65f2;
$custom-light: #df96f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd65f2",
  "rgb": {
    "r": 205,
    "g": 101,
    "b": 242
  },
  "hsl": {
    "h": 284.255,
    "s": 84.431,
    "l": 67.255
  },
  "oklch": {
    "l": 0.68619,
    "c": 0.21747,
    "h": 316.3
  },
  "luminance": 0.28697
}

Semantic roles & 50–950 ramp

primary
#CD65F2
secondary
#CFF0C3
accent
#E1053E
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #CD65F2

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

Preview Lab → · Contrast checker → · Palette generator →

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