#CB7EFB#CB7EFB

#CB7EFB is a light, vivid violet. Relative luminance 0.346; OKLCH L 72.3% C 0.188 H 311.0°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#CB7EFB
RGBrgb(203, 126, 251)
HSLhsl(277, 94%, 74%)
HSVhsv(277, 50%, 98%)
CMYKcmyk(19.1%, 49.8%, 0%, 1.6%)
CIE-LABlab(65.42, 51.31, -50.94)
CIE-LCHlch(65.42, 72.30, 315.21°)
OKLaboklab(72.33% 0.1235 -0.1423)
OKLCHoklch(72.33% 0.188 311)
XYZxyz(49.4989, 34.5842, 95.3159)
Luminance0.3458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7EFB #AEFB7E
analogous
#8D7EFB #CB7EFB #FB7EED
triadic
#CB7EFB #FBCB7E #7EFBCB
tetradic
#CB7EFB #FB8D7E #AEFB7E #7EEDFB
square
#CB7EFB #FB8D7E #AEFB7E #7EEDFB
split-complementary
#CB7EFB #EDFB7E #7EFB8D
monochromatic
#9B08F7 #B343F9 #CB7EFB #E3B9FD #F3E1FE

Accessibility & contrast

On white

2.65
#CB7EFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#CB7EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7EFB
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7EFB#FFFFFF#000000##000000
##CB7EFB1.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9BFF
Deuteranopia (green-blind)
#75A0F8
Tritanopia (blue-blind)
#C593B1
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cb7efb;
/* rgb */ color: rgb(203, 126, 251);
/* oklch */ color: oklch(72.3% 0.188 311.0);
Tailwind
colors: {
  custom: {
    50: '#dda5fd',
    500: '#cb7efb',
    950: '#000000',
  },
}
SCSS
$custom: #cb7efb;
$custom-light: #dda5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7efb",
  "rgb": {
    "r": 203,
    "g": 126,
    "b": 251
  },
  "hsl": {
    "h": 276.96,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.72326,
    "c": 0.18841,
    "h": 311
  },
  "luminance": 0.34583
}

Semantic roles & 50–950 ramp

primary
#CB7EFB
secondary
#E2F6D5
accent
#E60058
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #CB7EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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