#CE7FF2#CE7FF2

#CE7FF2 is a light, vivid purple. Relative luminance 0.347; OKLCH L 72.3% C 0.178 H 314.4°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#CE7FF2
RGBrgb(206, 127, 242)
HSLhsl(281, 82%, 72%)
HSVhsv(281, 48%, 95%)
CMYKcmyk(14.9%, 47.5%, 0%, 5.1%)
CIE-LABlab(65.52, 49.70, -45.81)
CIE-LCHlch(65.52, 67.59, 317.33°)
OKLaboklab(72.33% 0.1247 -0.1273)
OKLCHoklch(72.33% 0.178 314.4)
XYZxyz(49.0674, 34.7126, 88.1026)
Luminance0.3471 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE7FF2 #A3F27F
analogous
#947FF2 #CE7FF2 #F27FDD
triadic
#CE7FF2 #F2CE7F #7FF2CE
tetradic
#CE7FF2 #F2947F #A3F27F #7FDDF2
square
#CE7FF2 #F2947F #A3F27F #7FDDF2
split-complementary
#CE7FF2 #DDF27F #7FF294
monochromatic
#A117E0 #B947EC #CE7FF2 #E3B7F8 #F4E3FC

Accessibility & contrast

On white

2.64
#CE7FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#CE7FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE7FF2
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE7FF2#FFFFFF#000000##000000
##CE7FF21.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#679BF6
Deuteranopia (green-blind)
#7EA1EF
Tritanopia (blue-blind)
#CB90AD
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ce7ff2;
/* rgb */ color: rgb(206, 127, 242);
/* oklch */ color: oklch(72.3% 0.178 314.4);
Tailwind
colors: {
  custom: {
    50: '#dfa6f7',
    500: '#ce7ff2',
    950: '#000000',
  },
}
SCSS
$custom: #ce7ff2;
$custom-light: #dfa6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ce7ff2",
  "rgb": {
    "r": 206,
    "g": 127,
    "b": 242
  },
  "hsl": {
    "h": 281.217,
    "s": 81.56,
    "l": 72.353
  },
  "oklch": {
    "l": 0.72333,
    "c": 0.1782,
    "h": 314.4
  },
  "luminance": 0.34711
}

Semantic roles & 50–950 ramp

primary
#CE7FF2
secondary
#E0F4D7
accent
#DE084B
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85

Preview Lab

Preview with #CE7FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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