#CB7EFA#CB7EFA

#CB7EFA is a light, vivid violet. Relative luminance 0.345; OKLCH L 72.3% C 0.187 H 311.2°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#CB7EFA
RGBrgb(203, 126, 250)
HSLhsl(277, 93%, 74%)
HSVhsv(277, 50%, 98%)
CMYKcmyk(18.8%, 49.6%, 0%, 2%)
CIE-LABlab(65.37, 51.10, -50.47)
CIE-LCHlch(65.37, 71.82, 315.36°)
OKLaboklab(72.27% 0.1234 -0.1409)
OKLCHoklch(72.27% 0.187 311.2)
XYZxyz(49.3417, 34.5213, 94.4879)
Luminance0.3452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7EFA #ADFA7E
analogous
#8D7EFA #CB7EFA #FA7EEB
triadic
#CB7EFA #FACB7E #7EFACB
tetradic
#CB7EFA #FA8D7E #ADFA7E #7EEBFA
square
#CB7EFA #FA8D7E #ADFA7E #7EEBFA
split-complementary
#CB7EFA #EBFA7E #7EFA8D
monochromatic
#9B09F4 #B343F8 #CB7EFA #E3B9FC #F3E2FE

Accessibility & contrast

On white

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

On black

7.90
#CB7EFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7EFA
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7EFA#FFFFFF#000000##000000
##CB7EFA1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9BFE
Deuteranopia (green-blind)
#76A0F7
Tritanopia (blue-blind)
#C692B1
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cb7efa;
/* rgb */ color: rgb(203, 126, 250);
/* oklch */ color: oklch(72.3% 0.187 311.2);
Tailwind
colors: {
  custom: {
    50: '#dda5fc',
    500: '#cb7efa',
    950: '#000000',
  },
}
SCSS
$custom: #cb7efa;
$custom-light: #dda5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7efa",
  "rgb": {
    "r": 203,
    "g": 126,
    "b": 250
  },
  "hsl": {
    "h": 277.258,
    "s": 92.537,
    "l": 73.725
  },
  "oklch": {
    "l": 0.72273,
    "c": 0.18732,
    "h": 311.2
  },
  "luminance": 0.3452
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB7EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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