#CFB7FA#CFB7FA

#CFB7FA is a very light, moderate violet. Relative luminance 0.540; OKLCH L 82.3% C 0.096 H 300.7°. Best body text is #000000 at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#CFB7FA
RGBrgb(207, 183, 250)
HSLhsl(261, 87%, 85%)
HSVhsv(261, 27%, 98%)
CMYKcmyk(17.2%, 26.8%, 0%, 2%)
CIE-LABlab(78.48, 21.47, -30.00)
CIE-LCHlch(78.48, 36.89, 305.59°)
OKLaboklab(82.28% 0.0489 -0.0823)
OKLCHoklch(82.28% 0.096 300.7)
XYZxyz(59.9173, 54.0344, 97.6970)
Luminance0.5403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB7FA #E2FAB7
analogous
#B7C0FA #CFB7FA #F1B7FA
triadic
#CFB7FA #FACFB7 #B7FACF
tetradic
#CFB7FA #FAB7C0 #E2FAB7 #B7FAF1
square
#CFB7FA #FAB7C0 #E2FAB7 #B7FAF1
split-complementary
#CFB7FA #FAF1B7 #C0FAB7
monochromatic
#8345F2 #A97EF6 #CFB7FA #ECE2FD #ECE2FD

Accessibility & contrast

On white

1.78
#CFB7FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.81
#CFB7FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB7FA
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB7FA#FFFFFF#000000##000000
##CFB7FA1.001.7811.8111.81
#FFFFFF1.781.0021.0021.00
#00000011.8121.001.001.00
##00000011.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9C2FD
Deuteranopia (green-blind)
#ADC2F8
Tritanopia (blue-blind)
#C8C1CF
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cfb7fa;
/* rgb */ color: rgb(207, 183, 250);
/* oklch */ color: oklch(82.3% 0.096 300.7);
Tailwind
colors: {
  custom: {
    50: '#deccfc',
    500: '#cfb7fa',
    950: '#000000',
  },
}
SCSS
$custom: #cfb7fa;
$custom-light: #deccfc;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb7fa",
  "rgb": {
    "r": 207,
    "g": 183,
    "b": 250
  },
  "hsl": {
    "h": 261.493,
    "s": 87.013,
    "l": 84.902
  },
  "oklch": {
    "l": 0.8228,
    "c": 0.09576,
    "h": 300.7
  },
  "luminance": 0.54034
}

Semantic roles & 50–950 ramp

primary
#CFB7FA
secondary
#B9DE77
accent
#E40293
background
#FEFEFF
surface
#FCFAFF
border
#D5D3D7
text
#151317
muted
#848385

Preview Lab

Preview with #CFB7FA

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

Preview Lab → · Contrast checker → · Palette generator →

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