#CB8BF0#CB8BF0

#CB8BF0 is a light, vivid violet. Relative luminance 0.375; OKLCH L 73.8% C 0.155 H 312.2°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#CB8BF0
RGBrgb(203, 139, 240)
HSLhsl(278, 77%, 74%)
HSVhsv(278, 42%, 94%)
CMYKcmyk(15.4%, 42.1%, 0%, 5.9%)
CIE-LABlab(67.62, 42.10, -41.45)
CIE-LCHlch(67.62, 59.08, 315.44°)
OKLaboklab(73.79% 0.1043 -0.1149)
OKLCHoklch(73.79% 0.155 312.2)
XYZxyz(49.5867, 37.4540, 87.0383)
Luminance0.3745 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8BF0 #B0F08B
analogous
#998BF0 #CB8BF0 #F08BE2
triadic
#CB8BF0 #F0CB8B #8BF0CB
tetradic
#CB8BF0 #F0998B #B0F08B #8BE2F0
square
#CB8BF0 #F0998B #B0F08B #8BE2F0
split-complementary
#CB8BF0 #E2F08B #8BF099
monochromatic
#9A1FE2 #B355E9 #CB8BF0 #E3C1F7 #F3E4FB

Accessibility & contrast

On white

2.47
#CB8BF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#CB8BF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8BF0
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8BF0#FFFFFF#000000##000000
##CB8BF01.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A1F4
Deuteranopia (green-blind)
#87A6ED
Tritanopia (blue-blind)
#C79AB2
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cb8bf0;
/* rgb */ color: rgb(203, 139, 240);
/* oklch */ color: oklch(73.8% 0.155 312.2);
Tailwind
colors: {
  custom: {
    50: '#dcaef5',
    500: '#cb8bf0',
    950: '#000000',
  },
}
SCSS
$custom: #cb8bf0;
$custom-light: #dcaef5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8bf0",
  "rgb": {
    "r": 203,
    "g": 139,
    "b": 240
  },
  "hsl": {
    "h": 278.02,
    "s": 77.099,
    "l": 74.314
  },
  "oklch": {
    "l": 0.73794,
    "c": 0.15514,
    "h": 312.2
  },
  "luminance": 0.37453
}

Semantic roles & 50–950 ramp

primary
#CB8BF0
secondary
#E2F3D8
accent
#D90C57
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85

Preview Lab

Preview with #CB8BF0

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

Preview Lab → · Contrast checker → · Palette generator →

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