#CB7EF7#CB7EF7

#CB7EF7 is a light, vivid violet. Relative luminance 0.343; OKLCH L 72.1% C 0.184 H 312.0°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#CB7EF7
RGBrgb(203, 126, 247)
HSLhsl(278, 88%, 73%)
HSVhsv(278, 49%, 97%)
CMYKcmyk(17.8%, 49%, 0%, 3.1%)
CIE-LABlab(65.23, 50.46, -49.05)
CIE-LCHlch(65.23, 70.37, 315.81°)
OKLaboklab(72.12% 0.1231 -0.1368)
OKLCHoklch(72.12% 0.184 312)
XYZxyz(48.8750, 34.3347, 92.0302)
Luminance0.3433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7EF7 #AAF77E
analogous
#8E7EF7 #CB7EF7 #F77EE6
triadic
#CB7EF7 #F7CB7E #7EF7CB
tetradic
#CB7EF7 #F78E7E #AAF77E #7EE6F7
square
#CB7EF7 #F78E7E #AAF77E #7EE6F7
split-complementary
#CB7EF7 #E6F77E #7EF78E
monochromatic
#9B0FEC #B444F3 #CB7EF7 #E2B8FB #F3E2FD

Accessibility & contrast

On white

2.67
#CB7EF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#CB7EF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7EF7
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7EF7#FFFFFF#000000##000000
##CB7EF71.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#619AFB
Deuteranopia (green-blind)
#78A0F4
Tritanopia (blue-blind)
#C691AF
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cb7ef7;
/* rgb */ color: rgb(203, 126, 247);
/* oklch */ color: oklch(72.1% 0.184 312.0);
Tailwind
colors: {
  custom: {
    50: '#dda5fa',
    500: '#cb7ef7',
    950: '#000000',
  },
}
SCSS
$custom: #cb7ef7;
$custom-light: #dda5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7ef7",
  "rgb": {
    "r": 203,
    "g": 126,
    "b": 247
  },
  "hsl": {
    "h": 278.182,
    "s": 88.321,
    "l": 73.137
  },
  "oklch": {
    "l": 0.72117,
    "c": 0.18403,
    "h": 312
  },
  "luminance": 0.34334
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB7EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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