#B795EF#B795EF

#B795EF is a light, vivid violet. Relative luminance 0.378; OKLCH L 73.5% C 0.131 H 300.6°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#B795EF
RGBrgb(183, 149, 239)
HSLhsl(263, 74%, 76%)
HSVhsv(263, 38%, 94%)
CMYKcmyk(23.4%, 37.7%, 0%, 6.3%)
CIE-LABlab(67.87, 30.64, -40.65)
CIE-LCHlch(67.87, 50.90, 307.01°)
OKLaboklab(73.52% 0.0669 -0.113)
OKLCHoklch(73.52% 0.131 300.6)
XYZxyz(45.8524, 37.7940, 86.5239)
Luminance0.3779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B795EF #CDEF95
analogous
#95A0EF #B795EF #E495EF
triadic
#B795EF #EFB795 #95EFB7
tetradic
#B795EF #EF95A0 #CDEF95 #95EFE4
square
#B795EF #EF95A0 #CDEF95 #95EFE4
split-complementary
#B795EF #EFE495 #A0EF95
monochromatic
#6F2BDF #9360E7 #B795EF #DBCAF7 #EDE4FB

Accessibility & contrast

On white

2.45
#B795EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#B795EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B795EF
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B795EF#FFFFFF#000000##000000
##B795EF1.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA5F2
Deuteranopia (green-blind)
#85A5ED
Tritanopia (blue-blind)
#ADA4B7
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b795ef;
/* rgb */ color: rgb(183, 149, 239);
/* oklch */ color: oklch(73.5% 0.131 300.6);
Tailwind
colors: {
  custom: {
    50: '#ceb4f4',
    500: '#b795ef',
    950: '#000000',
  },
}
SCSS
$custom: #b795ef;
$custom-light: #ceb4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b795ef",
  "rgb": {
    "r": 183,
    "g": 149,
    "b": 239
  },
  "hsl": {
    "h": 262.667,
    "s": 73.77,
    "l": 76.078
  },
  "oklch": {
    "l": 0.73519,
    "c": 0.13129,
    "h": 300.6
  },
  "luminance": 0.37794
}

Semantic roles & 50–950 ramp

primary
#B795EF
secondary
#E9F3D8
accent
#D6108B
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #B795EF

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

Preview Lab → · Contrast checker → · Palette generator →

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