#B795FA#B795FA

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

Color values

HEX#B795FA
RGBrgb(183, 149, 250)
HSLhsl(260, 91%, 78%)
HSVhsv(260, 40%, 98%)
CMYKcmyk(26.8%, 40.4%, 0%, 2%)
CIE-LABlab(68.36, 33.23, -45.89)
CIE-LCHlch(68.36, 56.66, 305.91°)
OKLaboklab(74.05% 0.069 -0.1282)
OKLCHoklch(74.05% 0.146 298.3)
XYZxyz(47.5272, 38.4639, 95.3443)
Luminance0.3846 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B795FA #D8FA95
analogous
#95A5FA #B795FA #E995FA
triadic
#B795FA #FAB795 #95FAB7
tetradic
#B795FA #FA95A5 #D8FA95 #95FAE9
square
#B795FA #FA95A5 #D8FA95 #95FAE9
split-complementary
#B795FA #FAE995 #A5FA95
monochromatic
#6820F4 #8F5BF7 #B795FA #DFCFFD #EBE2FE

Accessibility & contrast

On white

2.42
#B795FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#B795FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B795FA
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B795FA#FFFFFF#000000##000000
##B795FA1.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A7FE
Deuteranopia (green-blind)
#80A6F7
Tritanopia (blue-blind)
#AAA6BC
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b795fa;
/* rgb */ color: rgb(183, 149, 250);
/* oklch */ color: oklch(74.1% 0.146 298.3);
Tailwind
colors: {
  custom: {
    50: '#ceb4fc',
    500: '#b795fa',
    950: '#000000',
  },
}
SCSS
$custom: #b795fa;
$custom-light: #ceb4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b795fa",
  "rgb": {
    "r": 183,
    "g": 149,
    "b": 250
  },
  "hsl": {
    "h": 260.198,
    "s": 90.991,
    "l": 78.235
  },
  "oklch": {
    "l": 0.74054,
    "c": 0.14555,
    "h": 298.3
  },
  "luminance": 0.38464
}

Semantic roles & 50–950 ramp

primary
#B795FA
secondary
#EBF6D5
accent
#E60098
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Preview Lab

Preview with #B795FA

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

Preview Lab → · Contrast checker → · Palette generator →

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