#CB92F8#CB92F8

#CB92F8 is a light, vivid violet. Relative luminance 0.400; OKLCH L 75.3% C 0.153 H 308.9°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#CB92F8
RGBrgb(203, 146, 248)
HSLhsl(274, 88%, 77%)
HSVhsv(274, 41%, 97%)
CMYKcmyk(18.1%, 41.1%, 0%, 2.7%)
CIE-LABlab(69.49, 40.04, -42.89)
CIE-LCHlch(69.49, 58.67, 313.03°)
OKLaboklab(75.32% 0.0959 -0.1191)
OKLCHoklch(75.32% 0.153 308.9)
XYZxyz(51.8476, 40.0322, 93.7844)
Luminance0.4003 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB92F8 #BFF892
analogous
#9892F8 #CB92F8 #F892F2
triadic
#CB92F8 #F8CB92 #92F8CB
tetradic
#CB92F8 #F89892 #BFF892 #92F2F8
square
#CB92F8 #F89892 #BFF892 #92F2F8
split-complementary
#CB92F8 #F2F892 #92F898
monochromatic
#941FF1 #B058F4 #CB92F8 #E6CCFC #F1E2FD

Accessibility & contrast

On white

2.33
#CB92F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#CB92F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB92F8
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB92F8#FFFFFF#000000##000000
##CB92F81.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA7FC
Deuteranopia (green-blind)
#8AABF5
Tritanopia (blue-blind)
#C5A2B9
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cb92f8;
/* rgb */ color: rgb(203, 146, 248);
/* oklch */ color: oklch(75.3% 0.153 308.9);
Tailwind
colors: {
  custom: {
    50: '#dcb3fb',
    500: '#cb92f8',
    950: '#000000',
  },
}
SCSS
$custom: #cb92f8;
$custom-light: #dcb3fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb92f8",
  "rgb": {
    "r": 203,
    "g": 146,
    "b": 248
  },
  "hsl": {
    "h": 273.529,
    "s": 87.931,
    "l": 77.255
  },
  "oklch": {
    "l": 0.7532,
    "c": 0.1529,
    "h": 308.9
  },
  "luminance": 0.40032
}

Semantic roles & 50–950 ramp

primary
#CB92F8
secondary
#E4F5D6
accent
#E50165
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CB92F8

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

Preview Lab → · Contrast checker → · Palette generator →

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