#CE7BFE#CE7BFE

#CE7BFE is a light, vivid violet. Relative luminance 0.344; OKLCH L 72.4% C 0.197 H 311.7°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#CE7BFE
RGBrgb(206, 123, 254)
HSLhsl(278, 98%, 74%)
HSVhsv(278, 52%, 100%)
CMYKcmyk(18.9%, 51.6%, 0%, 0.4%)
CIE-LABlab(65.31, 54.27, -52.73)
CIE-LCHlch(65.31, 75.67, 315.82°)
OKLaboklab(72.37% 0.1313 -0.1474)
OKLCHoklch(72.37% 0.197 311.7)
XYZxyz(50.4228, 34.4446, 97.7390)
Luminance0.3444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE7BFE #ABFE7B
analogous
#8D7BFE #CE7BFE #FE7BED
triadic
#CE7BFE #FECE7B #7BFECE
tetradic
#CE7BFE #FE8D7B #ABFE7B #7BEDFE
square
#CE7BFE #FE8D7B #ABFE7B #7BEDFE
split-complementary
#CE7BFE #EDFE7B #7BFE8D
monochromatic
#A102FD #B73EFE #CE7BFE #E5B8FE #F4E1FF

Accessibility & contrast

On white

2.66
#CE7BFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#CE7BFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE7BFE
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE7BFE#FFFFFF#000000##000000
##CE7BFE1.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#599AFF
Deuteranopia (green-blind)
#73A0FB
Tritanopia (blue-blind)
#C991B1
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ce7bfe;
/* rgb */ color: rgb(206, 123, 254);
/* oklch */ color: oklch(72.4% 0.197 311.7);
Tailwind
colors: {
  custom: {
    50: '#dfa4ff',
    500: '#ce7bfe',
    950: '#000000',
  },
}
SCSS
$custom: #ce7bfe;
$custom-light: #dfa4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ce7bfe",
  "rgb": {
    "r": 206,
    "g": 123,
    "b": 254
  },
  "hsl": {
    "h": 278.015,
    "s": 98.496,
    "l": 73.922
  },
  "oklch": {
    "l": 0.72368,
    "c": 0.1974,
    "h": 311.7
  },
  "luminance": 0.34443
}

Semantic roles & 50–950 ramp

primary
#CE7BFE
secondary
#E1F7D4
accent
#E60054
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#150F18
muted
#847F86

Preview Lab

Preview with #CE7BFE

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

Preview Lab → · Contrast checker → · Palette generator →

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