#B792CD#B792CD

#B792CD is a light, moderate violet. Relative luminance 0.350; OKLCH L 71.5% C 0.093 H 312.5°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#B792CD
RGBrgb(183, 146, 205)
HSLhsl(278, 37%, 69%)
HSVhsv(278, 29%, 80%)
CMYKcmyk(10.7%, 28.8%, 0%, 19.6%)
CIE-LABlab(65.77, 24.78, -25.10)
CIE-LCHlch(65.77, 35.27, 314.63°)
OKLaboklab(71.47% 0.0629 -0.0686)
OKLCHoklch(71.47% 0.093 312.5)
XYZxyz(40.8249, 35.0334, 62.3572)
Luminance0.3503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B792CD #A8CD92
analogous
#9A92CD #B792CD #CD92C6
triadic
#B792CD #CDB792 #92CDB7
tetradic
#B792CD #CD9A92 #A8CD92 #92C6CD
square
#B792CD #CD9A92 #A8CD92 #92C6CD
split-complementary
#B792CD #C6CD92 #92CD9A
monochromatic
#7D489D #9B68BA #B792CD #D3BCE0 #EEE6F3

Accessibility & contrast

On white

2.62
#B792CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#B792CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B792CD
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B792CD#FFFFFF#000000##000000
##B792CD1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#899ECF
Deuteranopia (green-blind)
#91A1CB
Tritanopia (blue-blind)
#B599A7
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b792cd;
/* rgb */ color: rgb(183, 146, 205);
/* oklch */ color: oklch(71.5% 0.093 312.5);
Tailwind
colors: {
  custom: {
    50: '#cdb2dc',
    500: '#b792cd',
    950: '#000000',
  },
}
SCSS
$custom: #b792cd;
$custom-light: #cdb2dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b792cd",
  "rgb": {
    "r": 183,
    "g": 146,
    "b": 205
  },
  "hsl": {
    "h": 277.627,
    "s": 37.107,
    "l": 68.824
  },
  "oklch": {
    "l": 0.71467,
    "c": 0.09304,
    "h": 312.5
  },
  "luminance": 0.35033
}

Semantic roles & 50–950 ramp

primary
#B792CD
secondary
#DBE6D5
accent
#B03563
background
#FCFAFD
surface
#F9F5FB
border
#D2CFD4
text
#131115
muted
#828083

Preview Lab

Preview with #B792CD

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

Preview Lab → · Contrast checker → · Palette generator →

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