#CB7FFA#CB7FFA

#CB7FFA is a light, vivid violet. Relative luminance 0.348; OKLCH L 72.4% C 0.186 H 311.1°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#CB7FFA
RGBrgb(203, 127, 250)
HSLhsl(277, 92%, 74%)
HSVhsv(277, 49%, 98%)
CMYKcmyk(18.8%, 49.2%, 0%, 2%)
CIE-LABlab(65.58, 50.58, -50.15)
CIE-LCHlch(65.58, 71.22, 315.24°)
OKLaboklab(72.42% 0.1221 -0.14)
OKLCHoklch(72.42% 0.186 311.1)
XYZxyz(49.4702, 34.7783, 94.5308)
Luminance0.3478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7FFA #AEFA7F
analogous
#8E7FFA #CB7FFA #FA7FEC
triadic
#CB7FFA #FACB7F #7FFACB
tetradic
#CB7FFA #FA8E7F #AEFA7F #7FECFA
square
#CB7FFA #FA8E7F #AEFA7F #7FECFA
split-complementary
#CB7FFA #ECFA7F #7FFA8E
monochromatic
#9B0AF5 #B344F8 #CB7FFA #E3BAFC #F3E2FE

Accessibility & contrast

On white

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

On black

7.96
#CB7FFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7FFA
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7FFA#FFFFFF#000000##000000
##CB7FFA1.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#619BFE
Deuteranopia (green-blind)
#77A1F7
Tritanopia (blue-blind)
#C693B1
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cb7ffa;
/* rgb */ color: rgb(203, 127, 250);
/* oklch */ color: oklch(72.4% 0.186 311.1);
Tailwind
colors: {
  custom: {
    50: '#dda6fc',
    500: '#cb7ffa',
    950: '#000000',
  },
}
SCSS
$custom: #cb7ffa;
$custom-light: #dda6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7ffa",
  "rgb": {
    "r": 203,
    "g": 127,
    "b": 250
  },
  "hsl": {
    "h": 277.073,
    "s": 92.481,
    "l": 73.922
  },
  "oklch": {
    "l": 0.72423,
    "c": 0.18575,
    "h": 311.1
  },
  "luminance": 0.34777
}

Semantic roles & 50–950 ramp

primary
#CB7FFA
secondary
#E2F6D5
accent
#E60058
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB7FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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