#CB7FF4#CB7FF4

#CB7FF4 is a light, vivid violet. Relative luminance 0.344; OKLCH L 72.1% C 0.179 H 312.7°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#CB7FF4
RGBrgb(203, 127, 244)
HSLhsl(279, 84%, 73%)
HSVhsv(279, 48%, 96%)
CMYKcmyk(16.8%, 48%, 0%, 4.3%)
CIE-LABlab(65.29, 49.30, -47.31)
CIE-LCHlch(65.29, 68.33, 316.18°)
OKLaboklab(72.11% 0.1214 -0.1317)
OKLCHoklch(72.11% 0.179 312.7)
XYZxyz(48.5443, 34.4080, 89.6546)
Luminance0.3441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7FF4 #A8F47F
analogous
#907FF4 #CB7FF4 #F47FE3
triadic
#CB7FF4 #F4CB7F #7FF4CB
tetradic
#CB7FF4 #F4907F #A8F47F #7FE3F4
square
#CB7FF4 #F4907F #A8F47F #7FE3F4
split-complementary
#CB7FF4 #E3F47F #7FF490
monochromatic
#9C14E5 #B447EF #CB7FF4 #E2B7F9 #F4E3FD

Accessibility & contrast

On white

2.66
#CB7FF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#CB7FF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7FF4
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7FF4#FFFFFF#000000##000000
##CB7FF41.002.667.887.88
#FFFFFF2.661.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#659AF8
Deuteranopia (green-blind)
#7AA0F1
Tritanopia (blue-blind)
#C791AE
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cb7ff4;
/* rgb */ color: rgb(203, 127, 244);
/* oklch */ color: oklch(72.1% 0.179 312.7);
Tailwind
colors: {
  custom: {
    50: '#dda6f8',
    500: '#cb7ff4',
    950: '#000000',
  },
}
SCSS
$custom: #cb7ff4;
$custom-light: #dda6f8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7ff4",
  "rgb": {
    "r": 203,
    "g": 127,
    "b": 244
  },
  "hsl": {
    "h": 278.974,
    "s": 84.173,
    "l": 72.745
  },
  "oklch": {
    "l": 0.72112,
    "c": 0.17915,
    "h": 312.7
  },
  "luminance": 0.34407
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB7FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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