#B795EA#B795EA

#B795EA is a light, vivid violet. Relative luminance 0.375; OKLCH L 73.3% C 0.125 H 301.8°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#B795EA
RGBrgb(183, 149, 234)
HSLhsl(264, 67%, 75%)
HSVhsv(264, 36%, 92%)
CMYKcmyk(21.8%, 36.3%, 0%, 8.2%)
CIE-LABlab(67.65, 29.48, -38.24)
CIE-LCHlch(67.65, 48.29, 307.63°)
OKLaboklab(73.28% 0.0658 -0.1061)
OKLCHoklch(73.28% 0.125 301.8)
XYZxyz(45.1240, 37.5026, 82.6874)
Luminance0.3750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B795EA #C8EA95
analogous
#959DEA #B795EA #E195EA
triadic
#B795EA #EAB795 #95EAB7
tetradic
#B795EA #EA959D #C8EA95 #95EAE1
square
#B795EA #EA959D #C8EA95 #95EAE1
split-complementary
#B795EA #EAE195 #9DEA95
monochromatic
#722FD6 #9462E0 #B795EA #DAC8F4 #EEE5FA

Accessibility & contrast

On white

2.47
#B795EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#B795EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B795EA
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B795EA#FFFFFF#000000##000000
##B795EA1.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A4ED
Deuteranopia (green-blind)
#88A5E8
Tritanopia (blue-blind)
#AEA3B5
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b795ea;
/* rgb */ color: rgb(183, 149, 234);
/* oklch */ color: oklch(73.3% 0.125 301.8);
Tailwind
colors: {
  custom: {
    50: '#ceb4f1',
    500: '#b795ea',
    950: '#000000',
  },
}
SCSS
$custom: #b795ea;
$custom-light: #ceb4f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b795ea",
  "rgb": {
    "r": 183,
    "g": 149,
    "b": 234
  },
  "hsl": {
    "h": 264,
    "s": 66.929,
    "l": 75.098
  },
  "oklch": {
    "l": 0.73283,
    "c": 0.12482,
    "h": 301.8
  },
  "luminance": 0.37503
}

Semantic roles & 50–950 ramp

primary
#B795EA
secondary
#E8F1DA
accent
#CF1785
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #B795EA

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

Preview Lab → · Contrast checker → · Palette generator →

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