#CE7CF2#CE7CF2

#CE7CF2 is a light, vivid purple. Relative luminance 0.339; OKLCH L 71.9% C 0.183 H 314.7°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#CE7CF2
RGBrgb(206, 124, 242)
HSLhsl(282, 82%, 72%)
HSVhsv(282, 49%, 95%)
CMYKcmyk(14.9%, 48.8%, 0%, 5.1%)
CIE-LABlab(64.92, 51.26, -46.76)
CIE-LCHlch(64.92, 69.38, 317.63°)
OKLaboklab(71.89% 0.1287 -0.1301)
OKLCHoklch(71.89% 0.183 314.7)
XYZxyz(48.6857, 33.9492, 87.9754)
Luminance0.3395 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE7CF2 #A0F27C
analogous
#937CF2 #CE7CF2 #F27CDB
triadic
#CE7CF2 #F2CE7C #7CF2CE
tetradic
#CE7CF2 #F2937C #A0F27C #7CDBF2
square
#CE7CF2 #F2937C #A0F27C #7CDBF2
split-complementary
#CE7CF2 #DBF27C #7CF293
monochromatic
#A116DE #B944EC #CE7CF2 #E3B4F8 #F5E3FC

Accessibility & contrast

On white

2.70
#CE7CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#CE7CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE7CF2
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE7CF2#FFFFFF#000000##000000
##CE7CF21.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6399F6
Deuteranopia (green-blind)
#7BA0EF
Tritanopia (blue-blind)
#CC8EAC
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ce7cf2;
/* rgb */ color: rgb(206, 124, 242);
/* oklch */ color: oklch(71.9% 0.183 314.7);
Tailwind
colors: {
  custom: {
    50: '#dfa4f7',
    500: '#ce7cf2',
    950: '#000000',
  },
}
SCSS
$custom: #ce7cf2;
$custom-light: #dfa4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ce7cf2",
  "rgb": {
    "r": 206,
    "g": 124,
    "b": 242
  },
  "hsl": {
    "h": 281.695,
    "s": 81.944,
    "l": 71.765
  },
  "oklch": {
    "l": 0.71886,
    "c": 0.183,
    "h": 314.7
  },
  "luminance": 0.33948
}

Semantic roles & 50–950 ramp

primary
#CE7CF2
secondary
#DFF4D6
accent
#DE0749
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CE7CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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