#CB7EF3#CB7EF3

#CB7EF3 is a light, vivid violet. Relative luminance 0.341; OKLCH L 71.9% C 0.180 H 313.0°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#CB7EF3
RGBrgb(203, 126, 243)
HSLhsl(279, 83%, 72%)
HSVhsv(279, 48%, 95%)
CMYKcmyk(16.5%, 48.1%, 0%, 4.7%)
CIE-LABlab(65.03, 49.62, -47.15)
CIE-LCHlch(65.03, 68.45, 316.46°)
OKLaboklab(71.91% 0.1226 -0.1313)
OKLCHoklch(71.91% 0.18 313)
XYZxyz(48.2644, 34.0904, 88.8143)
Luminance0.3409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7EF3 #A6F37E
analogous
#907EF3 #CB7EF3 #F37EE1
triadic
#CB7EF3 #F3CB7E #7EF3CB
tetradic
#CB7EF3 #F3907E #A6F37E #7EE1F3
square
#CB7EF3 #F3907E #A6F37E #7EE1F3
split-complementary
#CB7EF3 #E1F37E #7EF390
monochromatic
#9C15E2 #B446EE #CB7EF3 #E2B6F8 #F4E3FC

Accessibility & contrast

On white

2.69
#CB7EF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#CB7EF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7EF3
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7EF3#FFFFFF#000000##000000
##CB7EF31.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#649AF7
Deuteranopia (green-blind)
#7AA0F0
Tritanopia (blue-blind)
#C790AD
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cb7ef3;
/* rgb */ color: rgb(203, 126, 243);
/* oklch */ color: oklch(71.9% 0.180 313.0);
Tailwind
colors: {
  custom: {
    50: '#dda5f7',
    500: '#cb7ef3',
    950: '#000000',
  },
}
SCSS
$custom: #cb7ef3;
$custom-light: #dda5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7ef3",
  "rgb": {
    "r": 203,
    "g": 126,
    "b": 243
  },
  "hsl": {
    "h": 279.487,
    "s": 82.979,
    "l": 72.353
  },
  "oklch": {
    "l": 0.7191,
    "c": 0.17965,
    "h": 313
  },
  "luminance": 0.34089
}

Semantic roles & 50–950 ramp

primary
#CB7EF3
secondary
#E1F4D7
accent
#DF0650
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB7EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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