#B795DA#B795DA

#B795DA is a light, moderate violet. Relative luminance 0.366; OKLCH L 72.6% C 0.104 H 306.5°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#B795DA
RGBrgb(183, 149, 218)
HSLhsl(270, 48%, 72%)
HSVhsv(270, 32%, 85%)
CMYKcmyk(16.1%, 31.7%, 0%, 14.5%)
CIE-LABlab(66.99, 25.89, -30.44)
CIE-LCHlch(66.99, 39.96, 310.38°)
OKLaboklab(72.57% 0.062 -0.0837)
OKLCHoklch(72.57% 0.104 306.5)
XYZxyz(42.9283, 36.6244, 71.1238)
Luminance0.3662 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B795DA #B8DA95
analogous
#9596DA #B795DA #DA95DA
triadic
#B795DA #DAB795 #95DAB7
tetradic
#B795DA #DA9596 #B8DA95 #95DADA
square
#B795DA #DA9596 #B8DA95 #95DADA
split-complementary
#B795DA #DADA95 #96DA95
monochromatic
#793FB5 #9868CA #B795DA #D6C2EA #F0E8F7

Accessibility & contrast

On white

2.52
#B795DA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#B795DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B795DA
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B795DA#FFFFFF#000000##000000
##B795DA1.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A2DD
Deuteranopia (green-blind)
#8FA3D8
Tritanopia (blue-blind)
#B29FAE
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b795da;
/* rgb */ color: rgb(183, 149, 218);
/* oklch */ color: oklch(72.6% 0.104 306.5);
Tailwind
colors: {
  custom: {
    50: '#cdb4e5',
    500: '#b795da',
    950: '#000000',
  },
}
SCSS
$custom: #b795da;
$custom-light: #cdb4e5;
$custom-dark: #000000;
JSON
{
  "hex": "#b795da",
  "rgb": {
    "r": 183,
    "g": 149,
    "b": 218
  },
  "hsl": {
    "h": 269.565,
    "s": 48.252,
    "l": 71.961
  },
  "oklch": {
    "l": 0.72565,
    "c": 0.10417,
    "h": 306.5
  },
  "luminance": 0.36624
}

Semantic roles & 50–950 ramp

primary
#B795DA
secondary
#E6EEDD
accent
#BC2A74
background
#FCFBFE
surface
#F9F6FC
border
#D2D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #B795DA

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

Preview Lab → · Contrast checker → · Palette generator →

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