#CE7EF7#CE7EF7

#CE7EF7 is a light, vivid violet. Relative luminance 0.348; OKLCH L 72.4% C 0.185 H 313.1°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#CE7EF7
RGBrgb(206, 126, 247)
HSLhsl(280, 88%, 73%)
HSVhsv(280, 49%, 97%)
CMYKcmyk(16.6%, 49%, 0%, 3.1%)
CIE-LABlab(65.56, 51.26, -48.50)
CIE-LCHlch(65.56, 70.57, 316.58°)
OKLaboklab(72.44% 0.1266 -0.1351)
OKLCHoklch(72.44% 0.185 313.1)
XYZxyz(49.7001, 34.7601, 92.0689)
Luminance0.3476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE7EF7 #A7F77E
analogous
#917EF7 #CE7EF7 #F77EE4
triadic
#CE7EF7 #F7CE7E #7EF7CE
tetradic
#CE7EF7 #F7917E #A7F77E #7EE4F7
square
#CE7EF7 #F7917E #A7F77E #7EE4F7
split-complementary
#CE7EF7 #E4F77E #7EF791
monochromatic
#A10FEC #B844F3 #CE7EF7 #E4B8FB #F4E2FD

Accessibility & contrast

On white

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

On black

7.95
#CE7EF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE7EF7
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE7EF7#FFFFFF#000000##000000
##CE7EF71.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#629BFB
Deuteranopia (green-blind)
#7AA1F4
Tritanopia (blue-blind)
#CA91AF
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ce7ef7;
/* rgb */ color: rgb(206, 126, 247);
/* oklch */ color: oklch(72.4% 0.185 313.1);
Tailwind
colors: {
  custom: {
    50: '#dfa6fa',
    500: '#ce7ef7',
    950: '#000000',
  },
}
SCSS
$custom: #ce7ef7;
$custom-light: #dfa6fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ce7ef7",
  "rgb": {
    "r": 206,
    "g": 126,
    "b": 247
  },
  "hsl": {
    "h": 279.669,
    "s": 88.321,
    "l": 73.137
  },
  "oklch": {
    "l": 0.72438,
    "c": 0.18519,
    "h": 313.1
  },
  "luminance": 0.34759
}

Semantic roles & 50–950 ramp

primary
#CE7EF7
secondary
#E0F5D6
accent
#E5014E
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CE7EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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