#CB7EF6#CB7EF6

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

Color values

HEX#CB7EF6
RGBrgb(203, 126, 246)
HSLhsl(279, 87%, 73%)
HSVhsv(279, 49%, 96%)
CMYKcmyk(17.5%, 48.8%, 0%, 3.5%)
CIE-LABlab(65.18, 50.25, -48.58)
CIE-LCHlch(65.18, 69.89, 315.97°)
OKLaboklab(72.07% 0.123 -0.1354)
OKLCHoklch(72.07% 0.183 312.2)
XYZxyz(48.7211, 34.2731, 91.2197)
Luminance0.3427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7EF6 #A9F67E
analogous
#8F7EF6 #CB7EF6 #F67EE5
triadic
#CB7EF6 #F6CB7E #7EF6CB
tetradic
#CB7EF6 #F68F7E #A9F67E #7EE5F6
square
#CB7EF6 #F68F7E #A9F67E #7EE5F6
split-complementary
#CB7EF6 #E5F67E #7EF68F
monochromatic
#9C10E9 #B445F2 #CB7EF6 #E2B7FA #F3E2FD

Accessibility & contrast

On white

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

On black

7.85
#CB7EF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7EF6
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7EF6#FFFFFF#000000##000000
##CB7EF61.002.677.857.85
#FFFFFF2.671.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#629AFA
Deuteranopia (green-blind)
#78A0F3
Tritanopia (blue-blind)
#C791AF
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cb7ef6;
/* rgb */ color: rgb(203, 126, 246);
/* oklch */ color: oklch(72.1% 0.183 312.2);
Tailwind
colors: {
  custom: {
    50: '#dda5f9',
    500: '#cb7ef6',
    950: '#000000',
  },
}
SCSS
$custom: #cb7ef6;
$custom-light: #dda5f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7ef6",
  "rgb": {
    "r": 203,
    "g": 126,
    "b": 246
  },
  "hsl": {
    "h": 278.5,
    "s": 86.957,
    "l": 72.941
  },
  "oklch": {
    "l": 0.72065,
    "c": 0.18294,
    "h": 312.2
  },
  "luminance": 0.34272
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB7EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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