#B792CA#B792CA

#B792CA is a light, moderate violet. Relative luminance 0.349; OKLCH L 71.3% C 0.089 H 314.0°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#B792CA
RGBrgb(183, 146, 202)
HSLhsl(280, 35%, 68%)
HSVhsv(280, 28%, 79%)
CMYKcmyk(9.4%, 27.7%, 0%, 20.8%)
CIE-LABlab(65.66, 24.15, -23.60)
CIE-LCHlch(65.66, 33.76, 315.66°)
OKLaboklab(71.35% 0.062 -0.0643)
OKLCHoklch(71.35% 0.089 314)
XYZxyz(40.4663, 34.8899, 60.4683)
Luminance0.3489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B792CA #A5CA92
analogous
#9B92CA #B792CA #CA92C1
triadic
#B792CA #CAB792 #92CAB7
tetradic
#B792CA #CA9B92 #A5CA92 #92C1CA
square
#B792CA #CA9B92 #A5CA92 #92C1CA
split-complementary
#B792CA #C1CA92 #92CA9B
monochromatic
#7D4A98 #9C69B6 #B792CA #D2BBDE #EDE4F2

Accessibility & contrast

On white

2.63
#B792CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#B792CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B792CA
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B792CA#FFFFFF#000000##000000
##B792CA1.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A9DCC
Deuteranopia (green-blind)
#92A0C8
Tritanopia (blue-blind)
#B699A6
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b792ca;
/* rgb */ color: rgb(183, 146, 202);
/* oklch */ color: oklch(71.3% 0.089 314.0);
Tailwind
colors: {
  custom: {
    50: '#cdb2da',
    500: '#b792ca',
    950: '#000000',
  },
}
SCSS
$custom: #b792ca;
$custom-light: #cdb2da;
$custom-dark: #000000;
JSON
{
  "hex": "#b792ca",
  "rgb": {
    "r": 183,
    "g": 146,
    "b": 202
  },
  "hsl": {
    "h": 279.643,
    "s": 34.568,
    "l": 68.235
  },
  "oklch": {
    "l": 0.71345,
    "c": 0.08937,
    "h": 314
  },
  "luminance": 0.34889
}

Semantic roles & 50–950 ramp

primary
#B792CA
secondary
#D9E4D3
accent
#AD3860
background
#FCFAFD
surface
#F9F5FA
border
#D2CFD3
text
#131114
muted
#828083

Preview Lab

Preview with #B792CA

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

Preview Lab → · Contrast checker → · Palette generator →

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