#CFB7F1#CFB7F1

#CFB7F1 is a light, moderate violet. Relative luminance 0.535; OKLCH L 81.9% C 0.084 H 303.5°. Best body text is #000000 at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#CFB7F1
RGBrgb(207, 183, 241)
HSLhsl(265, 67%, 83%)
HSVhsv(265, 24%, 95%)
CMYKcmyk(14.1%, 24.1%, 0%, 5.5%)
CIE-LABlab(78.16, 19.55, -25.66)
CIE-LCHlch(78.16, 32.26, 307.30°)
OKLaboklab(81.93% 0.0463 -0.07)
OKLCHoklch(81.93% 0.084 303.5)
XYZxyz(58.5397, 53.4833, 90.4414)
Luminance0.5348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB7F1 #D9F1B7
analogous
#B7BCF1 #CFB7F1 #ECB7F1
triadic
#CFB7F1 #F1CFB7 #B7F1CF
tetradic
#CFB7F1 #F1B7BC #D9F1B7 #B7F1EC
square
#CFB7F1 #F1B7BC #D9F1B7 #B7F1EC
split-complementary
#CFB7F1 #F1ECB7 #BCF1B7
monochromatic
#8B51DD #AD84E7 #CFB7F1 #EEE5FA #EEE5FA

Accessibility & contrast

On white

1.80
#CFB7F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.70
#CFB7F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB7F1
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB7F1#FFFFFF#000000##000000
##CFB7F11.001.8011.7011.70
#FFFFFF1.801.0021.0021.00
#00000011.7021.001.001.00
##00000011.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACC1F3
Deuteranopia (green-blind)
#B0C1EF
Tritanopia (blue-blind)
#CABFCB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cfb7f1;
/* rgb */ color: rgb(207, 183, 241);
/* oklch */ color: oklch(81.9% 0.084 303.5);
Tailwind
colors: {
  custom: {
    50: '#deccf5',
    500: '#cfb7f1',
    950: '#000000',
  },
}
SCSS
$custom: #cfb7f1;
$custom-light: #deccf5;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb7f1",
  "rgb": {
    "r": 207,
    "g": 183,
    "b": 241
  },
  "hsl": {
    "h": 264.828,
    "s": 67.442,
    "l": 83.137
  },
  "oklch": {
    "l": 0.81925,
    "c": 0.08399,
    "h": 303.5
  },
  "luminance": 0.53483
}

Semantic roles & 50–950 ramp

primary
#CFB7F1
secondary
#ADD07C
accent
#CF1683
background
#FEFEFF
surface
#FCFAFE
border
#D5D3D6
text
#151317
muted
#848385

Preview Lab

Preview with #CFB7F1

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

Preview Lab → · Contrast checker → · Palette generator →

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