#CB7FFB#CB7FFB

#CB7FFB is a light, vivid violet. Relative luminance 0.348; OKLCH L 72.5% C 0.187 H 310.8°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#CB7FFB
RGBrgb(203, 127, 251)
HSLhsl(277, 94%, 74%)
HSVhsv(277, 49%, 98%)
CMYKcmyk(19.1%, 49.4%, 0%, 1.6%)
CIE-LABlab(65.62, 50.79, -50.62)
CIE-LCHlch(65.62, 71.71, 315.10°)
OKLaboklab(72.47% 0.1222 -0.1414)
OKLCHoklch(72.47% 0.187 310.8)
XYZxyz(49.6274, 34.8412, 95.3588)
Luminance0.3484 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7FFB #AFFB7F
analogous
#8D7FFB #CB7FFB #FB7FED
triadic
#CB7FFB #FBCB7F #7FFBCB
tetradic
#CB7FFB #FB8D7F #AFFB7F #7FEDFB
square
#CB7FFB #FB8D7F #AFFB7F #7FEDFB
split-complementary
#CB7FFB #EDFB7F #7FFB8D
monochromatic
#9B08F7 #B344F9 #CB7FFB #E3BAFD #F3E1FE

Accessibility & contrast

On white

2.64
#CB7FFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#CB7FFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7FFB
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7FFB#FFFFFF#000000##000000
##CB7FFB1.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#609CFF
Deuteranopia (green-blind)
#76A1F8
Tritanopia (blue-blind)
#C593B2
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cb7ffb;
/* rgb */ color: rgb(203, 127, 251);
/* oklch */ color: oklch(72.5% 0.187 310.8);
Tailwind
colors: {
  custom: {
    50: '#dda6fd',
    500: '#cb7ffb',
    950: '#000000',
  },
}
SCSS
$custom: #cb7ffb;
$custom-light: #dda6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7ffb",
  "rgb": {
    "r": 203,
    "g": 127,
    "b": 251
  },
  "hsl": {
    "h": 276.774,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.72475,
    "c": 0.18685,
    "h": 310.8
  },
  "luminance": 0.3484
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB7FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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