#CB6EFA#CB6EFA

#CB6EFA is a light, highly saturated violet. Relative luminance 0.307; OKLCH L 70.0% C 0.212 H 312.9°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#CB6EFA
RGBrgb(203, 110, 250)
HSLhsl(280, 93%, 71%)
HSVhsv(280, 56%, 98%)
CMYKcmyk(18.8%, 56%, 0%, 2%)
CIE-LABlab(62.30, 59.18, -55.35)
CIE-LCHlch(62.30, 81.03, 316.91°)
OKLaboklab(70.01% 0.144 -0.1551)
OKLCHoklch(70.01% 0.212 312.9)
XYZxyz(47.4569, 30.7517, 93.8597)
Luminance0.3075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB6EFA #9DFA6E
analogous
#856EFA #CB6EFA #FA6EE3
triadic
#CB6EFA #FACB6E #6EFACB
tetradic
#CB6EFA #FA856E #9DFA6E #6EE3FA
square
#CB6EFA #FA856E #9DFA6E #6EE3FA
split-complementary
#CB6EFA #E3FA6E #6EFA85
monochromatic
#9B08E6 #B633F8 #CB6EFA #E0A9FC #F4E1FE

Accessibility & contrast

On white

2.94
#CB6EFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#CB6EFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB6EFA
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB6EFA#FFFFFF#000000##000000
##CB6EFA1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4592FF
Deuteranopia (green-blind)
#6799F7
Tritanopia (blue-blind)
#C686AA
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cb6efa;
/* rgb */ color: rgb(203, 110, 250);
/* oklch */ color: oklch(70.0% 0.212 312.9);
Tailwind
colors: {
  custom: {
    50: '#de9bfc',
    500: '#cb6efa',
    950: '#000000',
  },
}
SCSS
$custom: #cb6efa;
$custom-light: #de9bfc;
$custom-dark: #000000;
JSON
{
  "hex": "#cb6efa",
  "rgb": {
    "r": 203,
    "g": 110,
    "b": 250
  },
  "hsl": {
    "h": 279.857,
    "s": 93.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.70006,
    "c": 0.21163,
    "h": 312.9
  },
  "luminance": 0.3075
}

Semantic roles & 50–950 ramp

primary
#CB6EFA
secondary
#DCF5CF
accent
#E6004D
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #CB6EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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