#B795FC#B795FC

#B795FC is a light, vivid violet. Relative luminance 0.386; OKLCH L 74.2% C 0.148 H 297.9°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#B795FC
RGBrgb(183, 149, 252)
HSLhsl(260, 94%, 79%)
HSVhsv(260, 41%, 99%)
CMYKcmyk(27.4%, 40.9%, 0%, 1.2%)
CIE-LABlab(68.45, 33.71, -46.84)
CIE-LCHlch(68.45, 57.71, 305.75°)
OKLaboklab(74.15% 0.0693 -0.1309)
OKLCHoklch(74.15% 0.148 297.9)
XYZxyz(47.8424, 38.5900, 97.0047)
Luminance0.3859 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B795FC #DAFC95
analogous
#95A6FC #B795FC #EA95FC
triadic
#B795FC #FCB795 #95FCB7
tetradic
#B795FC #FC95A6 #DAFC95 #95FCEA
square
#B795FC #FC95A6 #DAFC95 #95FCEA
split-complementary
#B795FC #FCEA95 #A6FC95
monochromatic
#661EF9 #8F59FA #B795FC #DFD1FE #EBE1FE

Accessibility & contrast

On white

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

On black

8.72
#B795FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B795FC
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B795FC#FFFFFF#000000##000000
##B795FC1.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b795fc;
/* rgb */ color: rgb(183, 149, 252);
/* oklch */ color: oklch(74.2% 0.148 297.9);
Tailwind
colors: {
  custom: {
    50: '#cfb4fe',
    500: '#b795fc',
    950: '#000000',
  },
}
SCSS
$custom: #b795fc;
$custom-light: #cfb4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b795fc",
  "rgb": {
    "r": 183,
    "g": 149,
    "b": 252
  },
  "hsl": {
    "h": 259.806,
    "s": 94.495,
    "l": 78.627
  },
  "oklch": {
    "l": 0.74153,
    "c": 0.14813,
    "h": 297.9
  },
  "luminance": 0.3859
}

Semantic roles & 50–950 ramp

primary
#B795FC
secondary
#EBF6D5
accent
#E6009A
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141118
muted
#828086

Preview Lab

Preview with #B795FC

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

Preview Lab → · Contrast checker → · Palette generator →

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