#CF7BE8#CF7BE8

#CF7BE8 is a light, vivid purple. Relative luminance 0.333; OKLCH L 71.3% C 0.175 H 318.1°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#CF7BE8
RGBrgb(207, 123, 232)
HSLhsl(286, 70%, 70%)
HSVhsv(286, 47%, 91%)
CMYKcmyk(10.8%, 47%, 0%, 9%)
CIE-LABlab(64.37, 50.02, -42.09)
CIE-LCHlch(64.37, 65.38, 319.92°)
OKLaboklab(71.35% 0.1299 -0.1165)
OKLCHoklch(71.35% 0.175 318.1)
XYZxyz(47.3786, 33.2591, 80.2522)
Luminance0.3326 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7BE8 #94E87B
analogous
#997BE8 #CF7BE8 #E87BCA
triadic
#CF7BE8 #E8CF7B #7BE8CF
tetradic
#CF7BE8 #E8997B #94E87B #7BCAE8
square
#CF7BE8 #E8997B #94E87B #7BCAE8
split-complementary
#CF7BE8 #CAE87B #7BE899
monochromatic
#A123C6 #BC47DF #CF7BE8 #E2AFF1 #F5E3FA

Accessibility & contrast

On white

2.74
#CF7BE8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#CF7BE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7BE8
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7BE8#FFFFFF#000000##000000
##CF7BE81.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6897EC
Deuteranopia (green-blind)
#809FE5
Tritanopia (blue-blind)
#CF8AA7
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cf7be8;
/* rgb */ color: rgb(207, 123, 232);
/* oklch */ color: oklch(71.3% 0.175 318.1);
Tailwind
colors: {
  custom: {
    50: '#e0a3ef',
    500: '#cf7be8',
    950: '#000000',
  },
}
SCSS
$custom: #cf7be8;
$custom-light: #e0a3ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7be8",
  "rgb": {
    "r": 207,
    "g": 123,
    "b": 232
  },
  "hsl": {
    "h": 286.239,
    "s": 70.323,
    "l": 69.608
  },
  "oklch": {
    "l": 0.71349,
    "c": 0.17455,
    "h": 318.1
  },
  "luminance": 0.33258
}

Semantic roles & 50–950 ramp

primary
#CF7BE8
secondary
#D7EFD0
accent
#D2133F
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CF7BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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