#B795EE#B795EE

#B795EE is a light, vivid violet. Relative luminance 0.377; OKLCH L 73.5% C 0.130 H 300.8°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#B795EE
RGBrgb(183, 149, 238)
HSLhsl(263, 72%, 76%)
HSVhsv(263, 37%, 93%)
CMYKcmyk(23.1%, 37.4%, 0%, 6.7%)
CIE-LABlab(67.82, 30.41, -40.17)
CIE-LCHlch(67.82, 50.38, 307.13°)
OKLaboklab(73.47% 0.0667 -0.1116)
OKLCHoklch(73.47% 0.13 300.8)
XYZxyz(45.7051, 37.7351, 85.7481)
Luminance0.3774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B795EE #CCEE95
analogous
#959FEE #B795EE #E395EE
triadic
#B795EE #EEB795 #95EEB7
tetradic
#B795EE #EE959F #CCEE95 #95EEE3
square
#B795EE #EE959F #CCEE95 #95EEE3
split-complementary
#B795EE #EEE395 #9FEE95
monochromatic
#6F2CDD #9360E6 #B795EE #DBCAF6 #EDE5FB

Accessibility & contrast

On white

2.46
#B795EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#B795EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B795EE
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B795EE#FFFFFF#000000##000000
##B795EE1.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA5F1
Deuteranopia (green-blind)
#86A5EC
Tritanopia (blue-blind)
#ADA4B6
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b795ee;
/* rgb */ color: rgb(183, 149, 238);
/* oklch */ color: oklch(73.5% 0.130 300.8);
Tailwind
colors: {
  custom: {
    50: '#ceb4f4',
    500: '#b795ee',
    950: '#000000',
  },
}
SCSS
$custom: #b795ee;
$custom-light: #ceb4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b795ee",
  "rgb": {
    "r": 183,
    "g": 149,
    "b": 238
  },
  "hsl": {
    "h": 262.921,
    "s": 72.358,
    "l": 75.882
  },
  "oklch": {
    "l": 0.73471,
    "c": 0.13,
    "h": 300.8
  },
  "luminance": 0.37735
}

Semantic roles & 50–950 ramp

primary
#B795EE
secondary
#E9F2D9
accent
#D4118A
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #B795EE

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

Preview Lab → · Contrast checker → · Palette generator →

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