#B795E8#B795E8

#B795E8 is a light, vivid violet. Relative luminance 0.374; OKLCH L 73.2% C 0.122 H 302.3°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#B795E8
RGBrgb(183, 149, 232)
HSLhsl(265, 64%, 75%)
HSVhsv(265, 36%, 91%)
CMYKcmyk(21.1%, 35.8%, 0%, 9%)
CIE-LABlab(67.57, 29.03, -37.27)
CIE-LCHlch(67.57, 47.24, 307.91°)
OKLaboklab(73.19% 0.0654 -0.1033)
OKLCHoklch(73.19% 0.122 302.3)
XYZxyz(44.8383, 37.3884, 81.1828)
Luminance0.3739 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B795E8 #C6E895
analogous
#959DE8 #B795E8 #E095E8
triadic
#B795E8 #E8B795 #95E8B7
tetradic
#B795E8 #E8959D #C6E895 #95E8E0
square
#B795E8 #E8959D #C6E895 #95E8E0
split-complementary
#B795E8 #E8E095 #9DE895
monochromatic
#7330D2 #9563DD #B795E8 #D9C7F3 #EEE6FA

Accessibility & contrast

On white

2.48
#B795E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#B795E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B795E8
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B795E8#FFFFFF#000000##000000
##B795E81.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A4EB
Deuteranopia (green-blind)
#89A4E6
Tritanopia (blue-blind)
#AFA2B4
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b795e8;
/* rgb */ color: rgb(183, 149, 232);
/* oklch */ color: oklch(73.2% 0.122 302.3);
Tailwind
colors: {
  custom: {
    50: '#ceb4ef',
    500: '#b795e8',
    950: '#000000',
  },
}
SCSS
$custom: #b795e8;
$custom-light: #ceb4ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b795e8",
  "rgb": {
    "r": 183,
    "g": 149,
    "b": 232
  },
  "hsl": {
    "h": 264.578,
    "s": 64.341,
    "l": 74.706
  },
  "oklch": {
    "l": 0.73191,
    "c": 0.12223,
    "h": 302.3
  },
  "luminance": 0.37388
}

Semantic roles & 50–950 ramp

primary
#B795E8
secondary
#E8F1DA
accent
#CC1983
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #B795E8

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

Preview Lab → · Contrast checker → · Palette generator →

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