#CE7BF2#CE7BF2

#CE7BF2 is a light, vivid purple. Relative luminance 0.337; OKLCH L 71.7% C 0.185 H 314.8°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#CE7BF2
RGBrgb(206, 123, 242)
HSLhsl(282, 82%, 72%)
HSVhsv(282, 49%, 95%)
CMYKcmyk(14.9%, 49.2%, 0%, 5.1%)
CIE-LABlab(64.72, 51.77, -47.07)
CIE-LCHlch(64.72, 69.97, 317.72°)
OKLaboklab(71.74% 0.1301 -0.131)
OKLCHoklch(71.74% 0.185 314.8)
XYZxyz(48.5610, 33.6999, 87.9338)
Luminance0.3370 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE7BF2 #9FF27B
analogous
#937BF2 #CE7BF2 #F27BDA
triadic
#CE7BF2 #F2CE7B #7BF2CE
tetradic
#CE7BF2 #F2937B #9FF27B #7BDAF2
square
#CE7BF2 #F2937B #9FF27B #7BDAF2
split-complementary
#CE7BF2 #DAF27B #7BF293
monochromatic
#A116DD #B943ED #CE7BF2 #E3B3F7 #F5E3FC

Accessibility & contrast

On white

2.71
#CE7BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#CE7BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE7BF2
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE7BF2#FFFFFF#000000##000000
##CE7BF21.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6198F6
Deuteranopia (green-blind)
#7A9FEF
Tritanopia (blue-blind)
#CC8DAB
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ce7bf2;
/* rgb */ color: rgb(206, 123, 242);
/* oklch */ color: oklch(71.7% 0.185 314.8);
Tailwind
colors: {
  custom: {
    50: '#dfa4f7',
    500: '#ce7bf2',
    950: '#000000',
  },
}
SCSS
$custom: #ce7bf2;
$custom-light: #dfa4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ce7bf2",
  "rgb": {
    "r": 206,
    "g": 123,
    "b": 242
  },
  "hsl": {
    "h": 281.849,
    "s": 82.069,
    "l": 71.569
  },
  "oklch": {
    "l": 0.71739,
    "c": 0.18458,
    "h": 314.8
  },
  "luminance": 0.33699
}

Semantic roles & 50–950 ramp

primary
#CE7BF2
secondary
#DEF4D5
accent
#DE0748
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CE7BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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