#B795FB#B795FB

#B795FB is a light, vivid violet. Relative luminance 0.385; OKLCH L 74.1% C 0.147 H 298.1°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#B795FB
RGBrgb(183, 149, 251)
HSLhsl(260, 93%, 78%)
HSVhsv(260, 41%, 98%)
CMYKcmyk(27.1%, 40.6%, 0%, 1.6%)
CIE-LABlab(68.41, 33.47, -46.36)
CIE-LCHlch(68.41, 57.18, 305.83°)
OKLaboklab(74.1% 0.0692 -0.1295)
OKLCHoklch(74.1% 0.147 298.1)
XYZxyz(47.6844, 38.5268, 96.1723)
Luminance0.3853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B795FB #D9FB95
analogous
#95A6FB #B795FB #EA95FB
triadic
#B795FB #FBB795 #95FBB7
tetradic
#B795FB #FB95A6 #D9FB95 #95FBEA
square
#B795FB #FB95A6 #D9FB95 #95FBEA
split-complementary
#B795FB #FBEA95 #A6FB95
monochromatic
#671FF7 #8F5AF9 #B795FB #DFD0FD #EBE2FE

Accessibility & contrast

On white

2.41
#B795FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#B795FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B795FB
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B795FB#FFFFFF#000000##000000
##B795FB1.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A7FF
Deuteranopia (green-blind)
#7FA6F8
Tritanopia (blue-blind)
#A9A7BC
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b795fb;
/* rgb */ color: rgb(183, 149, 251);
/* oklch */ color: oklch(74.1% 0.147 298.1);
Tailwind
colors: {
  custom: {
    50: '#ceb4fd',
    500: '#b795fb',
    950: '#000000',
  },
}
SCSS
$custom: #b795fb;
$custom-light: #ceb4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b795fb",
  "rgb": {
    "r": 183,
    "g": 149,
    "b": 251
  },
  "hsl": {
    "h": 260,
    "s": 92.727,
    "l": 78.431
  },
  "oklch": {
    "l": 0.74103,
    "c": 0.14684,
    "h": 298.1
  },
  "luminance": 0.38527
}

Semantic roles & 50–950 ramp

primary
#B795FB
secondary
#EBF6D5
accent
#E60099
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Preview Lab

Preview with #B795FB

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

Preview Lab → · Contrast checker → · Palette generator →

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