#CEB7FF#CEB7FF

#CEB7FF is a very light, moderate violet. Relative luminance 0.542; OKLCH L 82.4% C 0.102 H 298.8°. Best body text is #000000 at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#CEB7FF
RGBrgb(206, 183, 255)
HSLhsl(259, 100%, 86%)
HSVhsv(259, 28%, 100%)
CMYKcmyk(19.2%, 28.2%, 0%, 0%)
CIE-LABlab(78.58, 22.26, -32.53)
CIE-LCHlch(78.58, 39.42, 304.38°)
OKLaboklab(82.4% 0.0492 -0.0895)
OKLCHoklch(82.4% 0.102 298.8)
XYZxyz(60.4332, 54.2085, 101.8678)
Luminance0.5421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB7FF #E8FFB7
analogous
#B7C4FF #CEB7FF #F2B7FF
triadic
#CEB7FF #FFCEB7 #B7FFCE
tetradic
#CEB7FF #FFB7C4 #E8FFB7 #B7FFF2
square
#CEB7FF #FFB7C4 #E8FFB7 #B7FFF2
split-complementary
#CEB7FF #FFF2B7 #C4FFB7
monochromatic
#7B3DFF #A47AFF #CEB7FF #EAE0FF #EAE0FF

Accessibility & contrast

On white

1.77
#CEB7FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.84
#CEB7FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEB7FF
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEB7FF#FFFFFF#000000##000000
##CEB7FF1.001.7711.8411.84
#FFFFFF1.771.0021.0021.00
#00000011.8421.001.001.00
##00000011.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7C2FF
Deuteranopia (green-blind)
#ABC2FD
Tritanopia (blue-blind)
#C5C2D1
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #ceb7ff;
/* rgb */ color: rgb(206, 183, 255);
/* oklch */ color: oklch(82.4% 0.102 298.8);
Tailwind
colors: {
  custom: {
    50: '#ddccff',
    500: '#ceb7ff',
    950: '#000000',
  },
}
SCSS
$custom: #ceb7ff;
$custom-light: #ddccff;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb7ff",
  "rgb": {
    "r": 206,
    "g": 183,
    "b": 255
  },
  "hsl": {
    "h": 259.167,
    "s": 100,
    "l": 85.882
  },
  "oklch": {
    "l": 0.82399,
    "c": 0.10215,
    "h": 298.8
  },
  "luminance": 0.54209
}

Semantic roles & 50–950 ramp

primary
#CEB7FF
secondary
#C2E674
accent
#E6009C
background
#FEFEFF
surface
#FCFAFF
border
#D5D3D7
text
#151318
muted
#848386

Preview Lab

Preview with #CEB7FF

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

Preview Lab → · Contrast checker → · Palette generator →

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