#CB89F7#CB89F7

#CB89F7 is a light, vivid violet. Relative luminance 0.373; OKLCH L 73.8% C 0.166 H 310.6°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#CB89F7
RGBrgb(203, 137, 247)
HSLhsl(276, 87%, 75%)
HSVhsv(276, 45%, 97%)
CMYKcmyk(17.8%, 44.5%, 0%, 3.1%)
CIE-LABlab(67.50, 44.66, -45.46)
CIE-LCHlch(67.50, 63.73, 314.49°)
OKLaboklab(73.81% 0.1082 -0.1264)
OKLCHoklch(73.81% 0.166 310.6)
XYZxyz(50.3597, 37.3041, 92.5251)
Luminance0.3730 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB89F7 #B5F789
analogous
#9489F7 #CB89F7 #F789EC
triadic
#CB89F7 #F7CB89 #89F7CB
tetradic
#CB89F7 #F79489 #B5F789 #89ECF7
square
#CB89F7 #F79489 #B5F789 #89ECF7
split-complementary
#CB89F7 #ECF789 #89F794
monochromatic
#9816EF #B250F3 #CB89F7 #E4C2FB #F2E2FD

Accessibility & contrast

On white

2.48
#CB89F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#CB89F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB89F7
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB89F7#FFFFFF#000000##000000
##CB89F71.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A1FB
Deuteranopia (green-blind)
#82A6F4
Tritanopia (blue-blind)
#C69AB4
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cb89f7;
/* rgb */ color: rgb(203, 137, 247);
/* oklch */ color: oklch(73.8% 0.166 310.6);
Tailwind
colors: {
  custom: {
    50: '#ddadfa',
    500: '#cb89f7',
    950: '#000000',
  },
}
SCSS
$custom: #cb89f7;
$custom-light: #ddadfa;
$custom-dark: #000000;
JSON
{
  "hex": "#cb89f7",
  "rgb": {
    "r": 203,
    "g": 137,
    "b": 247
  },
  "hsl": {
    "h": 276,
    "s": 87.302,
    "l": 75.294
  },
  "oklch": {
    "l": 0.73814,
    "c": 0.16642,
    "h": 310.6
  },
  "luminance": 0.37303
}

Semantic roles & 50–950 ramp

primary
#CB89F7
secondary
#E2F5D6
accent
#E4025C
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CB89F7

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

Preview Lab → · Contrast checker → · Palette generator →

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