#B795DF#B795DF

#B795DF is a light, moderate violet. Relative luminance 0.369; OKLCH L 72.8% C 0.111 H 304.9°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#B795DF
RGBrgb(183, 149, 223)
HSLhsl(268, 54%, 73%)
HSVhsv(268, 33%, 87%)
CMYKcmyk(17.9%, 33.2%, 0%, 12.5%)
CIE-LABlab(67.19, 26.99, -32.89)
CIE-LCHlch(67.19, 42.55, 309.37°)
OKLaboklab(72.78% 0.0632 -0.0907)
OKLCHoklch(72.78% 0.111 304.9)
XYZxyz(43.5925, 36.8901, 74.6217)
Luminance0.3689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B795DF #BDDF95
analogous
#9598DF #B795DF #DC95DF
triadic
#B795DF #DFB795 #95DFB7
tetradic
#B795DF #DF9598 #BDDF95 #95DFDC
square
#B795DF #DF9598 #BDDF95 #95DFDC
split-complementary
#B795DF #DFDC95 #98DF95
monochromatic
#773AC0 #9766D1 #B795DF #D7C4ED #EFE7F8

Accessibility & contrast

On white

2.51
#B795DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#B795DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B795DF
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B795DF#FFFFFF#000000##000000
##B795DF1.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A2E2
Deuteranopia (green-blind)
#8DA4DD
Tritanopia (blue-blind)
#B1A0B0
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b795df;
/* rgb */ color: rgb(183, 149, 223);
/* oklch */ color: oklch(72.8% 0.111 304.9);
Tailwind
colors: {
  custom: {
    50: '#cdb4e9',
    500: '#b795df',
    950: '#000000',
  },
}
SCSS
$custom: #b795df;
$custom-light: #cdb4e9;
$custom-dark: #000000;
JSON
{
  "hex": "#b795df",
  "rgb": {
    "r": 183,
    "g": 149,
    "b": 223
  },
  "hsl": {
    "h": 267.568,
    "s": 53.623,
    "l": 72.941
  },
  "oklch": {
    "l": 0.72784,
    "c": 0.11059,
    "h": 304.9
  },
  "luminance": 0.3689
}

Semantic roles & 50–950 ramp

primary
#B795DF
secondary
#E6EFDC
accent
#C12479
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #B795DF

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

Preview Lab → · Contrast checker → · Palette generator →

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