#B795FF#B795FF

#B795FF is a light, vivid violet. Relative luminance 0.388; OKLCH L 74.3% C 0.152 H 297.3°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#B795FF
RGBrgb(183, 149, 255)
HSLhsl(259, 100%, 79%)
HSVhsv(259, 42%, 100%)
CMYKcmyk(28.2%, 41.6%, 0%, 0%)
CIE-LABlab(68.59, 34.44, -48.25)
CIE-LCHlch(68.59, 59.28, 305.51°)
OKLaboklab(74.3% 0.0698 -0.135)
OKLCHoklch(74.3% 0.152 297.3)
XYZxyz(48.3216, 38.7817, 99.5282)
Luminance0.3878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B795FF #DDFF95
analogous
#95A8FF #B795FF #EC95FF
triadic
#B795FF #FFB795 #95FFB7
tetradic
#B795FF #FF95A8 #DDFF95 #95FFEC
square
#B795FF #FF95A8 #DDFF95 #95FFEC
split-complementary
#B795FF #FFEC95 #A8FF95
monochromatic
#641BFF #8D58FF #B795FF #E1D2FF #EAE0FF

Accessibility & contrast

On white

2.40
#B795FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#B795FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B795FF
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B795FF#FFFFFF#000000##000000
##B795FF1.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A8FF
Deuteranopia (green-blind)
#7DA6FC
Tritanopia (blue-blind)
#A8A8BE
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b795ff;
/* rgb */ color: rgb(183, 149, 255);
/* oklch */ color: oklch(74.3% 0.152 297.3);
Tailwind
colors: {
  custom: {
    50: '#cfb4ff',
    500: '#b795ff',
    950: '#000000',
  },
}
SCSS
$custom: #b795ff;
$custom-light: #cfb4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b795ff",
  "rgb": {
    "r": 183,
    "g": 149,
    "b": 255
  },
  "hsl": {
    "h": 259.245,
    "s": 100,
    "l": 79.216
  },
  "oklch": {
    "l": 0.74305,
    "c": 0.152,
    "h": 297.3
  },
  "luminance": 0.38782
}

Semantic roles & 50–950 ramp

primary
#B795FF
secondary
#ECF7D4
accent
#E6009C
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141118
muted
#828086

Preview Lab

Preview with #B795FF

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

Preview Lab → · Contrast checker → · Palette generator →

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