#CFB5FA#CFB5FA

#CFB5FA is a light, moderate violet. Relative luminance 0.532; OKLCH L 81.9% C 0.099 H 301.5°. Best body text is #000000 at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#CFB5FA
RGBrgb(207, 181, 250)
HSLhsl(263, 87%, 85%)
HSVhsv(263, 28%, 98%)
CMYKcmyk(17.2%, 27.6%, 0%, 2%)
CIE-LABlab(78.00, 22.56, -30.74)
CIE-LCHlch(78.00, 38.13, 306.28°)
OKLaboklab(81.91% 0.0518 -0.0844)
OKLCHoklch(81.91% 0.099 301.5)
XYZxyz(59.5078, 53.2152, 97.5605)
Luminance0.5322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB5FA #E0FAB5
analogous
#B5BEFA #CFB5FA #F2B5FA
triadic
#CFB5FA #FACFB5 #B5FACF
tetradic
#CFB5FA #FAB5BE #E0FAB5 #B5FAF2
square
#CFB5FA #FAB5BE #E0FAB5 #B5FAF2
split-complementary
#CFB5FA #FAF2B5 #BEFAB5
monochromatic
#8542F2 #AA7CF6 #CFB5FA #ECE2FD #ECE2FD

Accessibility & contrast

On white

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

On black

11.64
#CFB5FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB5FA
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB5FA#FFFFFF#000000##000000
##CFB5FA1.001.8011.6411.64
#FFFFFF1.801.0021.0021.00
#00000011.6421.001.001.00
##00000011.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7C0FD
Deuteranopia (green-blind)
#ABC1F8
Tritanopia (blue-blind)
#C8BFCD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cfb5fa;
/* rgb */ color: rgb(207, 181, 250);
/* oklch */ color: oklch(81.9% 0.099 301.5);
Tailwind
colors: {
  custom: {
    50: '#decbfc',
    500: '#cfb5fa',
    950: '#000000',
  },
}
SCSS
$custom: #cfb5fa;
$custom-light: #decbfc;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb5fa",
  "rgb": {
    "r": 207,
    "g": 181,
    "b": 250
  },
  "hsl": {
    "h": 262.609,
    "s": 87.342,
    "l": 84.51
  },
  "oklch": {
    "l": 0.81911,
    "c": 0.09899,
    "h": 301.5
  },
  "luminance": 0.53215
}

Semantic roles & 50–950 ramp

primary
#CFB5FA
secondary
#B6DE75
accent
#E4028F
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285

Preview Lab

Preview with #CFB5FA

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

Preview Lab → · Contrast checker → · Palette generator →

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