#CB7CF7#CB7CF7

#CB7CF7 is a light, vivid violet. Relative luminance 0.338; OKLCH L 71.8% C 0.187 H 312.2°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#CB7CF7
RGBrgb(203, 124, 247)
HSLhsl(279, 88%, 73%)
HSVhsv(279, 50%, 97%)
CMYKcmyk(17.8%, 49.8%, 0%, 3.1%)
CIE-LABlab(64.83, 51.50, -49.68)
CIE-LCHlch(64.83, 71.56, 316.03°)
OKLaboklab(71.82% 0.1258 -0.1386)
OKLCHoklch(71.82% 0.187 312.2)
XYZxyz(48.6218, 33.8283, 91.9458)
Luminance0.3383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7CF7 #A8F77C
analogous
#8E7CF7 #CB7CF7 #F77CE5
triadic
#CB7CF7 #F7CB7C #7CF7CB
tetradic
#CB7CF7 #F78E7C #A8F77C #7CE5F7
square
#CB7CF7 #F78E7C #A8F77C #7CE5F7
split-complementary
#CB7CF7 #E5F77C #7CF78E
monochromatic
#9C0EEA #B442F3 #CB7CF7 #E2B6FB #F4E2FD

Accessibility & contrast

On white

2.70
#CB7CF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#CB7CF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7CF7
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7CF7#FFFFFF#000000##000000
##CB7CF71.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E99FB
Deuteranopia (green-blind)
#769FF4
Tritanopia (blue-blind)
#C790AE
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cb7cf7;
/* rgb */ color: rgb(203, 124, 247);
/* oklch */ color: oklch(71.8% 0.187 312.2);
Tailwind
colors: {
  custom: {
    50: '#dda4fa',
    500: '#cb7cf7',
    950: '#000000',
  },
}
SCSS
$custom: #cb7cf7;
$custom-light: #dda4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7cf7",
  "rgb": {
    "r": 203,
    "g": 124,
    "b": 247
  },
  "hsl": {
    "h": 278.537,
    "s": 88.489,
    "l": 72.745
  },
  "oklch": {
    "l": 0.71819,
    "c": 0.18717,
    "h": 312.2
  },
  "luminance": 0.33827
}

Semantic roles & 50–950 ramp

primary
#CB7CF7
secondary
#E1F5D6
accent
#E50052
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB7CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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