#CE7EF0#CE7EF0

#CE7EF0 is a light, vivid purple. Relative luminance 0.343; OKLCH L 72.1% C 0.178 H 315.1°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#CE7EF0
RGBrgb(206, 126, 240)
HSLhsl(282, 79%, 72%)
HSVhsv(282, 48%, 94%)
CMYKcmyk(14.2%, 47.5%, 0%, 5.9%)
CIE-LABlab(65.23, 49.81, -45.17)
CIE-LCHlch(65.23, 67.24, 317.80°)
OKLaboklab(72.08% 0.1258 -0.1255)
OKLCHoklch(72.08% 0.178 315.1)
XYZxyz(48.6402, 34.3361, 86.4865)
Luminance0.3433 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE7EF0 #A0F07E
analogous
#957EF0 #CE7EF0 #F07ED9
triadic
#CE7EF0 #F0CE7E #7EF0CE
tetradic
#CE7EF0 #F0957E #A0F07E #7ED9F0
square
#CE7EF0 #F0957E #A0F07E #7ED9F0
split-complementary
#CE7EF0 #D9F07E #7EF095
monochromatic
#A119DA #B947EA #CE7EF0 #E3B5F6 #F5E4FC

Accessibility & contrast

On white

2.67
#CE7EF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#CE7EF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE7EF0
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE7EF0#FFFFFF#000000##000000
##CE7EF01.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#679AF4
Deuteranopia (green-blind)
#7EA1ED
Tritanopia (blue-blind)
#CC8FAC
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ce7ef0;
/* rgb */ color: rgb(206, 126, 240);
/* oklch */ color: oklch(72.1% 0.178 315.1);
Tailwind
colors: {
  custom: {
    50: '#dfa5f5',
    500: '#ce7ef0',
    950: '#000000',
  },
}
SCSS
$custom: #ce7ef0;
$custom-light: #dfa5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ce7ef0",
  "rgb": {
    "r": 206,
    "g": 126,
    "b": 240
  },
  "hsl": {
    "h": 282.105,
    "s": 79.167,
    "l": 71.765
  },
  "oklch": {
    "l": 0.72083,
    "c": 0.17767,
    "h": 315.1
  },
  "luminance": 0.34335
}

Semantic roles & 50–950 ramp

primary
#CE7EF0
secondary
#DFF3D6
accent
#DB0A48
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85

Preview Lab

Preview with #CE7EF0

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

Preview Lab → · Contrast checker → · Palette generator →

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