#B795FD#B795FD

#B795FD is a light, vivid violet. Relative luminance 0.387; OKLCH L 74.2% C 0.149 H 297.7°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#B795FD
RGBrgb(183, 149, 253)
HSLhsl(260, 96%, 79%)
HSVhsv(260, 41%, 99%)
CMYKcmyk(27.7%, 41.1%, 0%, 0.8%)
CIE-LABlab(68.50, 33.95, -47.31)
CIE-LCHlch(68.50, 58.23, 305.67°)
OKLaboklab(74.2% 0.0695 -0.1323)
OKLCHoklch(74.2% 0.149 297.7)
XYZxyz(48.0013, 38.6536, 97.8414)
Luminance0.3865 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B795FD #DBFD95
analogous
#95A7FD #B795FD #EB95FD
triadic
#B795FD #FDB795 #95FDB7
tetradic
#B795FD #FD95A7 #DBFD95 #95FDEB
square
#B795FD #FD95A7 #DBFD95 #95FDEB
split-complementary
#B795FD #FDEB95 #A7FD95
monochromatic
#651DFB #8E59FC #B795FD #E0D1FE #EBE1FE

Accessibility & contrast

On white

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

On black

8.73
#B795FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B795FD
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B795FD#FFFFFF#000000##000000
##B795FD1.002.418.738.73
#FFFFFF2.411.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b795fd;
/* rgb */ color: rgb(183, 149, 253);
/* oklch */ color: oklch(74.2% 0.149 297.7);
Tailwind
colors: {
  custom: {
    50: '#cfb4fe',
    500: '#b795fd',
    950: '#000000',
  },
}
SCSS
$custom: #b795fd;
$custom-light: #cfb4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b795fd",
  "rgb": {
    "r": 183,
    "g": 149,
    "b": 253
  },
  "hsl": {
    "h": 259.615,
    "s": 96.296,
    "l": 78.824
  },
  "oklch": {
    "l": 0.74204,
    "c": 0.14943,
    "h": 297.7
  },
  "luminance": 0.38654
}

Semantic roles & 50–950 ramp

primary
#B795FD
secondary
#EBF7D4
accent
#E6009A
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141118
muted
#828086

Preview Lab

Preview with #B795FD

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

Preview Lab → · Contrast checker → · Palette generator →

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