#CF7BEB#CF7BEB

#CF7BEB is a light, vivid purple. Relative luminance 0.334; OKLCH L 71.5% C 0.178 H 317.2°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#CF7BEB
RGBrgb(207, 123, 235)
HSLhsl(285, 74%, 70%)
HSVhsv(285, 48%, 92%)
CMYKcmyk(11.9%, 47.7%, 0%, 7.8%)
CIE-LABlab(64.51, 50.62, -43.54)
CIE-LCHlch(64.51, 66.77, 319.30°)
OKLaboklab(71.5% 0.1304 -0.1207)
OKLCHoklch(71.5% 0.178 317.2)
XYZxyz(47.8083, 33.4310, 82.5156)
Luminance0.3343 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7BEB #97EB7B
analogous
#977BEB #CF7BEB #EB7BCF
triadic
#CF7BEB #EBCF7B #7BEBCF
tetradic
#CF7BEB #EB977B #97EB7B #7BCFEB
square
#CF7BEB #EB977B #97EB7B #7BCFEB
split-complementary
#CF7BEB #CFEB7B #7BEB97
monochromatic
#A11FCD #BC46E3 #CF7BEB #E2B0F3 #F5E4FB

Accessibility & contrast

On white

2.73
#CF7BEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#CF7BEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7BEB
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7BEB#FFFFFF#000000##000000
##CF7BEB1.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6697EF
Deuteranopia (green-blind)
#7E9FE8
Tritanopia (blue-blind)
#CE8BA8
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cf7beb;
/* rgb */ color: rgb(207, 123, 235);
/* oklch */ color: oklch(71.5% 0.178 317.2);
Tailwind
colors: {
  custom: {
    50: '#e0a3f2',
    500: '#cf7beb',
    950: '#000000',
  },
}
SCSS
$custom: #cf7beb;
$custom-light: #e0a3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7beb",
  "rgb": {
    "r": 207,
    "g": 123,
    "b": 235
  },
  "hsl": {
    "h": 285,
    "s": 73.684,
    "l": 70.196
  },
  "oklch": {
    "l": 0.71496,
    "c": 0.17766,
    "h": 317.2
  },
  "luminance": 0.33429
}

Semantic roles & 50–950 ramp

primary
#CF7BEB
secondary
#D9F0D1
accent
#D61041
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CF7BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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