#CB7EF4#CB7EF4

#CB7EF4 is a light, vivid violet. Relative luminance 0.342; OKLCH L 72.0% C 0.181 H 312.8°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#CB7EF4
RGBrgb(203, 126, 244)
HSLhsl(279, 84%, 73%)
HSVhsv(279, 48%, 96%)
CMYKcmyk(16.8%, 48.4%, 0%, 4.3%)
CIE-LABlab(65.08, 49.83, -47.63)
CIE-LCHlch(65.08, 68.93, 316.29°)
OKLaboklab(71.96% 0.1227 -0.1327)
OKLCHoklch(71.96% 0.181 312.8)
XYZxyz(48.4158, 34.1510, 89.6117)
Luminance0.3415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7EF4 #A7F47E
analogous
#907EF4 #CB7EF4 #F47EE2
triadic
#CB7EF4 #F4CB7E #7EF4CB
tetradic
#CB7EF4 #F4907E #A7F47E #7EE2F4
square
#CB7EF4 #F4907E #A7F47E #7EE2F4
split-complementary
#CB7EF4 #E2F47E #7EF490
monochromatic
#9C13E4 #B446EF #CB7EF4 #E2B6F9 #F4E3FD

Accessibility & contrast

On white

2.68
#CB7EF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#CB7EF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7EF4
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7EF4#FFFFFF#000000##000000
##CB7EF41.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#639AF8
Deuteranopia (green-blind)
#79A0F1
Tritanopia (blue-blind)
#C790AE
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cb7ef4;
/* rgb */ color: rgb(203, 126, 244);
/* oklch */ color: oklch(72.0% 0.181 312.8);
Tailwind
colors: {
  custom: {
    50: '#dda5f8',
    500: '#cb7ef4',
    950: '#000000',
  },
}
SCSS
$custom: #cb7ef4;
$custom-light: #dda5f8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7ef4",
  "rgb": {
    "r": 203,
    "g": 126,
    "b": 244
  },
  "hsl": {
    "h": 279.153,
    "s": 84.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.71962,
    "c": 0.18075,
    "h": 312.8
  },
  "luminance": 0.3415
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB7EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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