#CFB7FF#CFB7FF

#CFB7FF is a very light, moderate violet. Relative luminance 0.544; OKLCH L 82.5% C 0.102 H 299.4°. Best body text is #000000 at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#CFB7FF
RGBrgb(207, 183, 255)
HSLhsl(260, 100%, 86%)
HSVhsv(260, 28%, 100%)
CMYKcmyk(18.8%, 28.2%, 0%, 0%)
CIE-LABlab(78.67, 22.56, -32.40)
CIE-LCHlch(78.67, 39.48, 304.85°)
OKLaboklab(82.48% 0.0503 -0.0891)
OKLCHoklch(82.48% 0.102 299.4)
XYZxyz(60.7118, 54.3522, 101.8809)
Luminance0.5435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB7FF #E7FFB7
analogous
#B7C3FF #CFB7FF #F3B7FF
triadic
#CFB7FF #FFCFB7 #B7FFCF
tetradic
#CFB7FF #FFB7C3 #E7FFB7 #B7FFF3
square
#CFB7FF #FFB7C3 #E7FFB7 #B7FFF3
split-complementary
#CFB7FF #FFF3B7 #C3FFB7
monochromatic
#7D3DFF #A67AFF #CFB7FF #EBE0FF #EBE0FF

Accessibility & contrast

On white

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

On black

11.87
#CFB7FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB7FF
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB7FF#FFFFFF#000000##000000
##CFB7FF1.001.7711.8711.87
#FFFFFF1.771.0021.0021.00
#00000011.8721.001.001.00
##00000011.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7C3FF
Deuteranopia (green-blind)
#ABC2FD
Tritanopia (blue-blind)
#C7C2D1
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cfb7ff;
/* rgb */ color: rgb(207, 183, 255);
/* oklch */ color: oklch(82.5% 0.102 299.4);
Tailwind
colors: {
  custom: {
    50: '#deccff',
    500: '#cfb7ff',
    950: '#000000',
  },
}
SCSS
$custom: #cfb7ff;
$custom-light: #deccff;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb7ff",
  "rgb": {
    "r": 207,
    "g": 183,
    "b": 255
  },
  "hsl": {
    "h": 260,
    "s": 100,
    "l": 85.882
  },
  "oklch": {
    "l": 0.82483,
    "c": 0.10233,
    "h": 299.4
  },
  "luminance": 0.54352
}

Semantic roles & 50–950 ramp

primary
#CFB7FF
secondary
#C0E674
accent
#E60099
background
#FEFEFF
surface
#FCFAFF
border
#D5D3D7
text
#151318
muted
#848386

Preview Lab

Preview with #CFB7FF

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

Preview Lab → · Contrast checker → · Palette generator →

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