#B795EB#B795EB

#B795EB is a light, vivid violet. Relative luminance 0.376; OKLCH L 73.3% C 0.126 H 301.6°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#B795EB
RGBrgb(183, 149, 235)
HSLhsl(264, 68%, 75%)
HSVhsv(264, 37%, 92%)
CMYKcmyk(22.1%, 36.6%, 0%, 7.8%)
CIE-LABlab(67.70, 29.71, -38.72)
CIE-LCHlch(67.70, 48.81, 307.50°)
OKLaboklab(73.33% 0.066 -0.1075)
OKLCHoklch(73.33% 0.126 301.6)
XYZxyz(45.2680, 37.5603, 83.4462)
Luminance0.3756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B795EB #C9EB95
analogous
#959EEB #B795EB #E295EB
triadic
#B795EB #EBB795 #95EBB7
tetradic
#B795EB #EB959E #C9EB95 #95EBE2
square
#B795EB #EB959E #C9EB95 #95EBE2
split-complementary
#B795EB #EBE295 #9EEB95
monochromatic
#712ED8 #9462E1 #B795EB #DAC8F5 #EEE5FA

Accessibility & contrast

On white

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

On black

8.51
#B795EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B795EB
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B795EB#FFFFFF#000000##000000
##B795EB1.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A4EE
Deuteranopia (green-blind)
#87A5E9
Tritanopia (blue-blind)
#AEA3B5
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b795eb;
/* rgb */ color: rgb(183, 149, 235);
/* oklch */ color: oklch(73.3% 0.126 301.6);
Tailwind
colors: {
  custom: {
    50: '#ceb4f1',
    500: '#b795eb',
    950: '#000000',
  },
}
SCSS
$custom: #b795eb;
$custom-light: #ceb4f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b795eb",
  "rgb": {
    "r": 183,
    "g": 149,
    "b": 235
  },
  "hsl": {
    "h": 263.721,
    "s": 68.254,
    "l": 75.294
  },
  "oklch": {
    "l": 0.7333,
    "c": 0.12611,
    "h": 301.6
  },
  "luminance": 0.3756
}

Semantic roles & 50–950 ramp

primary
#B795EB
secondary
#E8F2D9
accent
#D01586
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #B795EB

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

Preview Lab → · Contrast checker → · Palette generator →

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