#CF9BFA#CF9BFA

#CF9BFA is a light, vivid violet. Relative luminance 0.436; OKLCH L 77.3% C 0.142 H 308.5°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#CF9BFA
RGBrgb(207, 155, 250)
HSLhsl(273, 90%, 79%)
HSVhsv(273, 38%, 98%)
CMYKcmyk(17.2%, 38%, 0%, 2%)
CIE-LABlab(71.97, 36.74, -40.08)
CIE-LCHlch(71.97, 54.37, 312.51°)
OKLaboklab(77.31% 0.0884 -0.1109)
OKLCHoklch(77.31% 0.142 308.5)
XYZxyz(54.7056, 43.6108, 95.9598)
Luminance0.4361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF9BFA #C6FA9B
analogous
#A09BFA #CF9BFA #FA9BF6
triadic
#CF9BFA #FACF9B #9BFACF
tetradic
#CF9BFA #FAA09B #C6FA9B #9BF6FA
square
#CF9BFA #FAA09B #C6FA9B #9BF6FA
split-complementary
#CF9BFA #F6FA9B #9BFAA0
monochromatic
#9726F4 #B361F7 #CF9BFA #EBD5FD #F1E2FE

Accessibility & contrast

On white

2.16
#CF9BFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.72
#CF9BFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF9BFA
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF9BFA#FFFFFF#000000##000000
##CF9BFA1.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#87AEFE
Deuteranopia (green-blind)
#93B1F7
Tritanopia (blue-blind)
#C9A9BF
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cf9bfa;
/* rgb */ color: rgb(207, 155, 250);
/* oklch */ color: oklch(77.3% 0.142 308.5);
Tailwind
colors: {
  custom: {
    50: '#dfb9fc',
    500: '#cf9bfa',
    950: '#000000',
  },
}
SCSS
$custom: #cf9bfa;
$custom-light: #dfb9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cf9bfa",
  "rgb": {
    "r": 207,
    "g": 155,
    "b": 250
  },
  "hsl": {
    "h": 272.842,
    "s": 90.476,
    "l": 79.412
  },
  "oklch": {
    "l": 0.77307,
    "c": 0.14183,
    "h": 308.5
  },
  "luminance": 0.4361
}

Semantic roles & 50–950 ramp

primary
#CF9BFA
secondary
#E4F6D5
accent
#E60068
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CF9BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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