#B795CF#B795CF

#B795CF is a light, moderate violet. Relative luminance 0.361; OKLCH L 72.1% C 0.090 H 310.8°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#B795CF
RGBrgb(183, 149, 207)
HSLhsl(275, 38%, 70%)
HSVhsv(275, 28%, 81%)
CMYKcmyk(11.6%, 28%, 0%, 18.8%)
CIE-LABlab(66.57, 23.52, -24.99)
CIE-LCHlch(66.57, 34.32, 313.27°)
OKLaboklab(72.1% 0.059 -0.0683)
OKLCHoklch(72.1% 0.09 310.8)
XYZxyz(41.5364, 36.0676, 63.7930)
Luminance0.3607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B795CF #ADCF95
analogous
#9A95CF #B795CF #CF95CA
triadic
#B795CF #CFB795 #95CFB7
tetradic
#B795CF #CF9A95 #ADCF95 #95CACF
square
#B795CF #CF9A95 #ADCF95 #95CACF
split-complementary
#B795CF #CACF95 #95CF9A
monochromatic
#7C49A1 #9A6BBC #B795CF #D4BFE2 #F0E9F5

Accessibility & contrast

On white

2.56
#B795CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#B795CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B795CF
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B795CF#FFFFFF#000000##000000
##B795CF1.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA0D1
Deuteranopia (green-blind)
#93A3CD
Tritanopia (blue-blind)
#B59CAA
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b795cf;
/* rgb */ color: rgb(183, 149, 207);
/* oklch */ color: oklch(72.1% 0.090 310.8);
Tailwind
colors: {
  custom: {
    50: '#cdb4dd',
    500: '#b795cf',
    950: '#000000',
  },
}
SCSS
$custom: #b795cf;
$custom-light: #cdb4dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b795cf",
  "rgb": {
    "r": 183,
    "g": 149,
    "b": 207
  },
  "hsl": {
    "h": 275.172,
    "s": 37.662,
    "l": 69.804
  },
  "oklch": {
    "l": 0.72102,
    "c": 0.09024,
    "h": 310.8
  },
  "luminance": 0.36067
}

Semantic roles & 50–950 ramp

primary
#B795CF
secondary
#DEE8D8
accent
#B13568
background
#FCFBFD
surface
#F9F6FB
border
#D2D0D4
text
#131115
muted
#828083

Preview Lab

Preview with #B795CF

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

Preview Lab → · Contrast checker → · Palette generator →

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