#B795CC#B795CC

#B795CC is a light, moderate violet. Relative luminance 0.359; OKLCH L 72.0% C 0.086 H 312.2°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#B795CC
RGBrgb(183, 149, 204)
HSLhsl(277, 35%, 69%)
HSVhsv(277, 27%, 80%)
CMYKcmyk(10.3%, 27%, 0%, 20%)
CIE-LABlab(66.46, 22.89, -23.49)
CIE-LCHlch(66.46, 32.80, 314.26°)
OKLaboklab(71.98% 0.0581 -0.064)
OKLCHoklch(71.98% 0.087 312.2)
XYZxyz(41.1731, 35.9223, 61.8797)
Luminance0.3592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B795CC #AACC95
analogous
#9C95CC #B795CC #CC95C6
triadic
#B795CC #CCB795 #95CCB7
tetradic
#B795CC #CC9C95 #AACC95 #95C6CC
square
#B795CC #CC9C95 #AACC95 #95C6CC
split-complementary
#B795CC #C6CC95 #95CC9C
monochromatic
#7D4B9C #9B6CB8 #B795CC #D3BEE0 #EFE8F4

Accessibility & contrast

On white

2.57
#B795CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#B795CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B795CC
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B795CC#FFFFFF#000000##000000
##B795CC1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA0CE
Deuteranopia (green-blind)
#94A2CA
Tritanopia (blue-blind)
#B59CA8
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b795cc;
/* rgb */ color: rgb(183, 149, 204);
/* oklch */ color: oklch(72.0% 0.086 312.2);
Tailwind
colors: {
  custom: {
    50: '#cdb4db',
    500: '#b795cc',
    950: '#000000',
  },
}
SCSS
$custom: #b795cc;
$custom-light: #cdb4db;
$custom-dark: #000000;
JSON
{
  "hex": "#b795cc",
  "rgb": {
    "r": 183,
    "g": 149,
    "b": 204
  },
  "hsl": {
    "h": 277.091,
    "s": 35.032,
    "l": 69.216
  },
  "oklch": {
    "l": 0.7198,
    "c": 0.0865,
    "h": 312.2
  },
  "luminance": 0.35922
}

Semantic roles & 50–950 ramp

primary
#B795CC
secondary
#DDE6D6
accent
#AE3865
background
#FCFBFD
surface
#F9F6FB
border
#D2D0D4
text
#131115
muted
#828083

Preview Lab

Preview with #B795CC

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

Preview Lab → · Contrast checker → · Palette generator →

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