#7235B3#7235B3

#7235B3 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.7% C 0.189 H 301.7°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#7235B3
RGBrgb(114, 53, 179)
HSLhsl(269, 54%, 45%)
HSVhsv(269, 70%, 70%)
CMYKcmyk(36.3%, 70.4%, 0%, 29.8%)
CIE-LABlab(36.70, 50.89, -56.53)
CIE-LCHlch(36.70, 76.07, 311.99°)
OKLaboklab(47.69% 0.0994 -0.161)
OKLCHoklch(47.69% 0.189 301.7)
XYZxyz(16.3473, 9.3782, 43.5880)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7235B3 #76B335
analogous
#3537B3 #7235B3 #B135B3
triadic
#7235B3 #B37235 #35B372
tetradic
#7235B3 #B33537 #76B335 #35B3B1
square
#7235B3 #B33537 #76B335 #35B3B1
split-complementary
#7235B3 #B3B135 #37B335
monochromatic
#361955 #542784 #7235B3 #9158CD #B087DB

Accessibility & contrast

On white

7.30
#7235B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#7235B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7235B3
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7235B3#FFFFFF#000000##FFFFFF
##7235B31.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B7
Deuteranopia (green-blind)
#0056B0
Tritanopia (blue-blind)
#645370
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7235b3;
/* rgb */ color: rgb(114, 53, 179);
/* oklch */ color: oklch(47.7% 0.189 301.7);
Tailwind
colors: {
  custom: {
    50: '#a071cb',
    500: '#7235b3',
    950: '#000000',
  },
}
SCSS
$custom: #7235b3;
$custom-light: #a071cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7235b3",
  "rgb": {
    "r": 114,
    "g": 53,
    "b": 179
  },
  "hsl": {
    "h": 269.048,
    "s": 54.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.47688,
    "c": 0.18927,
    "h": 301.7
  },
  "luminance": 0.09378
}

Semantic roles & 50–950 ramp

primary
#7235B3
secondary
#A3C57F
accent
#DE4A96
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7235B3

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

Preview Lab → · Contrast checker → · Palette generator →

#7235B3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva